I am working on targeting system for 2D game. Two objects move in space.
Each one have Position and Velocity vector. Ship object shoots moving objects in space. Ship can shoot in any direction, but ...

I have a player game-object with a script Player. In the Player script I have a public properties weapons.
I want to have to just drag in this properties a script/prefabs. And the Player script must ...

I want to shoot towards my mouse, which is working fine now. After this was solved, I wanted to rotate the projectile, so that it's looking to the mouse. This is my code:
projectile.transform.LookAt ...

I'm starting out a 2D wrestling game in Unity 5 and i need some help. The default resolution of game needs to be 320x240. The background sprite that i would be using is 640x480. The camera would move ...

I want to generate stars (actually a 2d vector) in the background. The player is moving left and right endlessly. When the player moves the stars, which aren't in sight anymore, should be deleted from ...

I'm new to game dev but I know how to code. I would like to try my hand at making a 2d game. I am overwhelmed by the ear between unity and game maker. Which one would be better to use. I thought unity ...

I'm an IT student, but my problem is my professor is just giving us codes but not explaining what is it for. Now, in our finals, our finals exam is we'll be making a 2d game using java. And I have no ...

I want to code my own topdown 2D game with SFML+C++ that later shall have multiplayer functionality. Therefor I want to seperate the graphical and logical Parts of my game.
All of my ingame Objects ...

I draw game HUD after drawing 3D scene. When I move the camera quickly, HUD starts flickering.
I noticed that it happens only if the distance between the camera and an object its looking at changes ...

I want to move an object with a certain angle and speed, is there a was to set this as an initial velocity so that it is still possible for the object to collide and bounce of other objects using its ...

I have a game engine created in javascript (https://jsfiddle.net/4gqsq8wf/) which uses collision detection via the Separating Axis Theorem. Currently, it does not have any means of resolving velocity ...

i've got a question about my unreal blueprints. I've been trying to get this right for almost a month now, but i don't know how to fix this. These are my are down below and a small video to explain my ...

Below is a two droplet merging together,in 2d.
I want to simulate the behavior when I exert combination force(through mouse or fling force on touch screen) on one of them to
make them to be a larger ...

I recently started building a simple 2D roguelike game using Monogame 3.4. I was keen on building the game "engine" myself as I saw it as a fun learning curve. Monogame was pretty much the best option ...

Here is my code. I have an empty Gameobject directly underneath the child with a small radius checking the ground every thing seems to be correctly covered, but for some reason the jumping mechanic is ...

I am trying to make a 2D game that is just a bunch of default figures like circles, arcs and quadrilaterals with no textures (similar to Super Hexagon), and for that I was using C# and XNA long time ...

http://gyazo.com/441ba7f4962cf1470692b437b8ae47a4
Hello,
I'm following the unity tutorial for 3D character movement and,
I'm trying to make the transition to idle and running but for some reason the ...

I've got next problem. There is three objects:
first one, with next characteristics: circular area of view, speed, drag coefficient;
wind (or water current, doesn't matter; some sort of resistance) ...

So I have just brought in a place holder block for the ground in unity 2D, and it's 16 by 16 pixel image, and for some reason unity is automatically blurring the image. So I was wondering if there was ...

I created a small map in tiled then imported it into Unity. A small sprite character is controlled by the player to roam about the map. I am experimenting with this for University and wanted to see ...

I am looking to push the 2D physics in Unity to the extent where when so much is going on that there becomes noticeable lag in a game. This is for testing purposes, so that when so much is going on ...