1
vote
1answer
26 views

Problem with textures using DirectX file format in Irrlicht

I'm using Irrlicht 1.8.1, and Blender 2.71 to create my animations. I've just create a simple cube, added a default material to it, and i've mapped a texture to it using UV unwrap, all that in ...
0
votes
0answers
7 views

Cannot get the specific bounds of my Animation sprite?

I have an animated sprite on my scene, and I would like to scale it to the screen width/height. So on my scene, I thought I'd add a Rect Transform first to find out my object's size, turns out it's ...
0
votes
1answer
30 views

Iteration over grid with randomly moving entities

So, I tried to write this Wator-Simulation thing and everything works fine, except for the random movement and so the spreading of breeding fishes/sharks. Instead of spawning more and more in every ...
0
votes
2answers
65 views

Help on transition from one position to another

I'm pretty sure I'm over thinking stuff, but I can't seem to figure this out. I want to move the object from one location to another. Here's what I got. I searched this up earlier here, and I found ...
0
votes
2answers
70 views

Circle-Circle collision resolution

This seems easy but I can't figure it out, when I have one circle(c1) collide with another(c2) I give the c2 circle the heading of c1 and send the c1 circle on the normal vector to the heading (the ...
0
votes
0answers
23 views

C# Triangle Triangle intersection [closed]

can anyone provide me with a c# implementation of triangle triangle intersection check code in 3D? I have it in c++ but I can't read it, it being c++ ...
0
votes
0answers
40 views

Will Android apps made with libGDX be slower the normal Android apps? [closed]

What I mean if is if I made 2 identical apps one in libGDX and one in the normal SDK would the libGDX one be slower? I would think not because I believe libGDX still turns your files into .dex files ...
0
votes
1answer
27 views

Instantiate a prefab and call a method from it's script

I am creating a game in unity and I have a prefab that I instantiate on center occasions. What I want to do though is after instantiating the prefab. Get a handle to it and call a specific public ...
0
votes
1answer
35 views

how to stop camera at the end of world map when zoomed in

Im building a tile-based game, and Im trying to implement zooming in on the center of the screen. My problem is, when I get to the edge of the map and im zoomed in, Im noticing that my camera doesn't ...
0
votes
0answers
37 views

Hard time implementing AABB collision into a platformer

I have AABB collision working fine. The problem is I can't get it to work with a platformer style game. The collision makes the player move a bit static when colliding and the gravity wont work with ...
4
votes
1answer
113 views

Implementing RPG Maker Auto Tiling

I'm currently working with Phaser, making a game that's procedurally generated. I wanted to use some RPG maker art in my game (for reference, I'm using the RTP). I stumbled across this article, which ...
0
votes
1answer
64 views

Draw many flashlights' focused lights' “circles” on a voxel engine map (and other objects)

So, I've been searching the internet for a while and I still didn't understand how to create a flashlight's "circle" in front of the camera over other objects. I found the following links: using ...
2
votes
1answer
57 views

How do I render an object's position trail of a constant length?

I want to show a trail of the last points that the object has been in, but I want that trail to always be a certain length, regardless of the object's speed. How can I do that? At the moment, I ...
1
vote
0answers
19 views

How do I find the intersection point from the Expanding Polytope Algorithm?

I've successfully implemented a 2D version of the GJK and EPA algorithms which gives me correct collision information, including collision normal and penetration depth. What it doesn't give me ...
0
votes
1answer
28 views

Instantiated Prefab Facing Wrong Way

Here's a Youtube video of my problem in action ((in the video I am clicking in various directions, yet the fireball is always created facing down in some direction.)) I've been having a lot of ...
2
votes
1answer
67 views

Creating polygons with separate outline/fill colors in OpenGL

Subject I am creating a terrain map with triangle strips and I would like to make the bodies of the triangles black, but have their outlines be colored. Problem The solution appears to be to draw ...
-1
votes
0answers
27 views

How to find sudoku puzzle database with solutions? [closed]

I'm looking for a resource that I can utilize to "generate" sudoku puzzles. If I can find a pre-generated puzzle, I can just add it to my database. I found this file, however this does not contain ...
0
votes
1answer
26 views

trouble getting the lighting and material set up right

I am having some trouble getting the lighting and material set up. Below I have setup lighting and material, however, when ever I turn on spectular reflection for material the sphere that I am ...
0
votes
2answers
33 views

Unity 5: Error when everything is okay(Object reference not set to an instance of an object)

i'm getting this error when the collider colides with something: Object reference not set to an instance of an object It's referencing to the gamecont.Death(); from this script: and the death ...
0
votes
1answer
46 views

In PHP, how do I implement multiplayer “rooms” for a turn-based game?

I'm working on a multiplayer checkers game. I want to let players choose another connected player and invite him to play. I have a working game engine and rendering, but I'm stuck on the multiplayer ...
0
votes
0answers
30 views

How can I create a collision like the ball and peg in Peggle?

I'm making a game which requires the same type of collision as Peggle. I know of the 3 main types (elastic, inelastic and perfectly inelastic) but those result in both objects moving after the ...
0
votes
0answers
26 views

Browser Game - Model or not Model

I'm planing on making a browser game just for fun and to improve my skills, but I have an issue regarding the Software Architecture of the game: I will be using an ORM to communicate with my ...
1
vote
1answer
12 views

Update animation based on distance traveled instead of elapsed time?

2D sprite Animation is supposed to be based on the elapsed time from the previous update so that it runs (and looks the same) no matter the speed of the machine/device it's running on. The method ...
-1
votes
2answers
68 views

The Validity Of “Else-IF” in Unity (Or any C# for that matter) [closed]

While I'm speaking specifically for my use in Unity, I'm sure this question probably applies to C# in general. I've seen a lot of debate on the use of the "else if" statement. Particularly, I'm ...
0
votes
1answer
41 views

How to figure out if I'm on the right path [closed]

I'm a software developer from Israel, I've been programming professionally since 2011, my first job was in HP software and lasted 2 years after which I decided that I want to pursue my dream in ...
1
vote
1answer
43 views

How do I create a custom tool in Unity?

Unity Editor has the usual bunch of standard tools: translate, rotate, and scale. I want add custom tools (to e.g. "paint" metadata onto the ground, or drag-and-drop stuff between gizmos). How?
0
votes
0answers
35 views

What is a good design pattern for a typical space shooter (e.g. Ikaruga)? [closed]

I'm having trouble trying to minimize dependency between the ship, bullet, and enemy classes. The ship sends coordinates to the bullet so it knows where to spawn from. The bullet hits an enemy to ...
2
votes
3answers
205 views

Strategy game tile and unit storage

I've recently started working on a turn based strategy game much like games from the Fire Emblem or Final Fantasy Tactics series. However, I'm running into a few problems concerning the storage of the ...
1
vote
1answer
34 views

How do I draw a full screen quad in DirectX 11?

How do I draw a full screen quad that shows red on the screen?
0
votes
1answer
26 views

Opengl textures change color of everything

Whenever I render textures, all shapes get the color of the texture. I'm not sure why, but I think it's something to do with the way I render textures. Here's what I use to draw textures: public void ...
0
votes
1answer
29 views

Is spatial partitioning for collision detection an appropriate way for objects to “know” whats around them even if they are not colliding?

I've been puzzling over how to do spatial awareness for units and buildings. I've asked a few questions and the final conclusion was spatial partitioning in the same manner used for collision ...
1
vote
1answer
38 views

Finding flexible patterns in a 2D grid

I'm stumped trying to create a matching algorithm for my game. I have a 2D grid like this for example: 0, 0, 0, 0, 0, 0 0, 1, 2, 2, 1, 0 0, 1, 1, 0, 0, 0 0, 0, 2, 0, 1, 0 0, 0, 0, 2, 1, 0 0, 0, ...
0
votes
0answers
34 views

Pixel buffers in SDL

I'm using SDL and c++ and trying to create a class to work on pixel basics. The buffer is a multidimensional char array. char buff[scW][scH]; The video mode is being set by a ...
0
votes
0answers
20 views

3ds Max Skeleton Import into Unreal Engine Fail

I tried following the "Introduction to UE4 Animation and Rigging Tools" tutorial with maya but I dislike maya and don't under stand it so I tried importing the skeleton from the "3rd Person Game with ...
1
vote
1answer
66 views

How can I keep AI from getting stuck on each other?

I'm currently working on AI and, as stated above, I'm having trouble figuring out how to keep the AI from getting stuck on each other. More specifically, I'm working on two different behaviors for ...
1
vote
1answer
41 views

Unity sprite with higher sorting layer not firing its OnMouseDown function

I have 2 objects, both have a Box collider 2D. The first object is on the Level1 Sorting Layer and has a Tile script attached to it. The second object is on the Level0 Sorting Layer and doesn't have ...
0
votes
1answer
22 views

XNA C# Texture Atlases

Fairly new to XNA and not an expert on C# either. So I was following a tutorial, specifically this one http://rbwhitaker.wikidot.com/texture-atlases-1, and there is a bit of code I am unfamiliar with. ...
0
votes
2answers
91 views

Why are games locked at a certain frame per second?

A lot of PC games are locked at 60 frames per second. I know that this is because a high frame rate can cause glitches/bug in a game and mess up the physics but is there another reason? Should anyone ...
0
votes
0answers
37 views

Is there a trivial way to force SDL2 to render on resolution change or regain of focus after CTRL+ALT+DEL?

I'm building a game with SDL2 and C++11. One of the modes of the game is a map which is divided up in tiles/entities existing on those tiles (some are animated) in the context of a viewport on the ...
2
votes
0answers
53 views

How to handle the birth and death of particle without reading from the buffer

I've implemented a simple particle system where each particle has a position, velocity, age and lifespan stored in different SSBOs. Most of the data including all the position, velocity and age is ...
0
votes
0answers
18 views

where should i go for documentation of 3d in cocos2d-x [closed]

Help me out friends, can't get enough even on google.Suggest me some material regarding this,be it any book or any course.
0
votes
2answers
80 views

Unity 2D - Object following target instead of moving towards it

I'm making a 2D game with Unity that's based on avoiding/evading enemies. The problem i'm facing right now is i can't get the enemies to move towards the target/player, but instead they follow it. So ...
0
votes
1answer
30 views

XNA Starting a parallel Thread during a draw loop is slower than doing the same task in the main thread in update loop

I'm using XNA and all of my drawing is done in the main thread. I am CPU-bound and I thought I could gain performance by moving some non-update logic (like animation update) from the update loop into ...
0
votes
1answer
38 views

Quaternion Slerp and Lerp implementation (with overshoot)

I am working with Unity (C#) and was looking for an implementation of Slerp and possibly Lerp that allow overshoot (progress not strictly limited to 0..1 range). I want to do some tweening animation ...
0
votes
1answer
31 views

Isometric Tile Selection with rectangular bounding boxes

I am having problems trying to determine which tile I have selected with the mouse. Currently it selects two tiles, rather than one. Producing the following results: My tiles height, is half their ...
1
vote
1answer
27 views

Bug in XNA Developer function CalculateEigenVector() from the file “xnacollision.cpp”?

I am trying to decipher the content of the Microsoft XNA Developer source file "xnacollision.cpp" and I've found a function that calculates one of the three eigenvectors of a homogeneous system of ...
0
votes
0answers
35 views

When setting up the player in a game [on hold]

How can you set up the different avatars the player could be? I am using blender to set up a FPS game, and I am trying to figure out how the viewport works so you can see yourself, as either male or ...
2
votes
1answer
77 views

Good approach in designing game classes [on hold]

I took a semester-long course in java but I'm still a beginner in Object-Oriented programming paradigm. Suppose that I want to create a simple game where the player can go to different locations. Each ...
0
votes
0answers
36 views

Pathfinding with move costs, grids, and arbitrary points

I'm building a game where the movement cost and passability is driven by a 2d array, but units are not conformed to this grid; it mostly just determines movement cost and natural/artificial immobile ...
0
votes
1answer
28 views

How to load in meshes efficiently into DirectX11

I wanted to know if there was a standard and efficient method to load meshes from a file into DirectX11. Currently, I'm loading .obj's by parsing them in and storing their information into a vertex ...

15 30 50 per page