2D games are drawn in a two-dimensional space using two-dimensional objects. To represent its position, each game object will have an `x` and a `y` coordinate.

learn more… | top users | synonyms

4
votes
0answers
40 views

Implementing water effects (splashes) into XNA 4.0 game

I am creating a 2D XNA game and came across a tutorial on adding water effects (splashes) to an XNA game but after implementing it into my game I can't get it to scale down. Currently it takes up the ...
0
votes
1answer
65 views

Problem with enum as game state

In the current game I'm building, I'm having trouble moving from one game state to another. I'm using enum to control my states. As of now, this is my enum: public static enum State { M_MENU, ...
-2
votes
0answers
37 views

Heartstone: Heroes of Warcrat Cinematic Trailer [closed]

I wonder, how its made, specially 2d art in 3d layers and effects used. Not first game that has that paralax effects in cinematic . Can anyone tell me what software is used there, plugins, any useful ...
1
vote
1answer
86 views

UML Class Diagrams for 2D platformer Games? [closed]

I have to develop a small arcade game in C++ for a college assignment using a 2D Game Engine my teacher coded. What would be the best way to make a UML class diagram for it? It's very basic stuff but ...
0
votes
1answer
49 views

How do I check for non tilted 2D rectangle collision?

I'm trying to find out how to check collision with different rectangles. Now the cubes I have have a x, y, height, and width to them. So it might look like this on the screen: And not like this: ...
0
votes
1answer
56 views

Swarm/crowd movement with box2d?

Apart from using b2Body::setTransform(), are there other ways to move a body around while keeping its dynamics ? I want to move several bodies at the same time into one direction, pretty much like ...
2
votes
1answer
69 views

2D Software Lighting Issues in Java

I'm creating a 2D top-down tiled game in pure Java and by now I'm trying to implement a way to do lighting. First, some details on how I render: there is a screen class which handles all the ...
-5
votes
1answer
50 views

Android Game an [closed]

I want to develop an android game (3D/2D).. and I don't have any knowledge about android app development. So can you suggest some helpful and understandable resources like video tutorials or head ...
-1
votes
3answers
253 views

Starting out - should I make complete games or just play around? [closed]

While starting out, I made clones of some arcade games (Tic tac toe, Pong, Snake, Tankwars, Breakout, Tetris, etc). Most of these games had just had the gameplay, I didn't code any of the starting ...
-2
votes
1answer
121 views

Will this Entity Code work? [closed]

How do you create 2D entities? Here is something i tried to write up as a base for entities but is this usable and is entites like this?: public abstract class Entity { int attackRange; // ...
-1
votes
1answer
46 views

XNA 2D Particle in 3D world [duplicate]

Is it possible to make 2D-sprite particles in a 3D world that always face towards the camera?
-1
votes
1answer
67 views

Drawing multiple sprites with clear screen for every frame

I googled with best of my skills, but I cannot find any relevant answer to my problem. I'm making a game with an isometric view. I need to draw multiple sprites on the screen and before switching to ...
1
vote
0answers
43 views

How do you display non-cutout transparent 2D textures with a depth buffer? (OpenGL)

I've been able to get my 2D renderer to display transparent cutout textures by testing the alpha of a fragment and discarding if it is less than 1 (or any fraction really). The problem is I want to ...
-2
votes
1answer
140 views

are most 2D games tille based? [closed]

So I'm beginning the planing phase for a 2D game that I hope to deploy for iPhone, Android, and maybe windows phone, and I am writing it in Cocos2DX and I'm looking around for map editors that I could ...
2
votes
1answer
87 views

Selecting the entities needed for rendering [duplicate]

Currently I'm sorting and looping every entity on my level but I really don't need to. Only a small subset would be on screen. If I could extract a list of entities from my main list that are on ...
-1
votes
2answers
85 views

Software to create anime-looking animation? [closed]

I'm looking for a software for the creation of anime-like sprites. Look at those: Those are hand-drawn. I want to generate sprites with that look, but in several (thousands) positions, in order to ...
3
votes
1answer
58 views

Handling Different Aspect Ratios for a Multiplayer Game

I'm currently designing a competitive 2D, side-scrolling multiplayer game and I want support full screen play at any aspect ratio (e.g., 4:3, 5:4, 16:10, 16:9). Doing that is not so much a problem, my ...
0
votes
1answer
104 views

Realistic 2D Planetary Physics Engine?

I'm doing a spaceflight simulator in C++ (using Allegro 5), and I realised that I could just use a physics engine instead of writing my own physics. So that's what I'm doing. Since this is going to ...
-3
votes
0answers
47 views

What are some good tools for adventure game backgrounds? [closed]

What are some easy to pick up applications that would allow one to create 2D backgrounds for a point-and-click adventure game? I have no graphics talents whatsoever so drawing a comic-style ...
-1
votes
0answers
79 views

Walking and orbiting bodies around a planet

I'm new in game developing and I was wondering if you could help me with an idea that I have in mind for a 2D game. The game consists on a character walking around a planet and several enemies ...
0
votes
2answers
174 views

How to make 2d map that isnt based on tiles

I am working on a game, and need to make a 2d map that isnt based on tiles. An example of something similar to what I want is all those racing games like "bike race" where the map is just somewhat a ...
-4
votes
1answer
40 views

My 2d Shader in XNA falls apart the second I put it into Farseer [closed]

I wrote a simple light shader that I tested in a simple 2d spaceship shooter and it worked fine. Once I imported it into my friend's farseer project with rotatable shapes, it doesn't seem to work ...
-4
votes
0answers
96 views

Looking to move from web design to game development [closed]

i have been building websites for about 5 years now, so i am fairly well skilled in html, javascript, php, perl, css etc... However i am now looking to go into game development and start learning it ...
-2
votes
0answers
124 views

How to Convert Screen Coordinates to Isometric Coordinates for Staggered Isometric Map w/ Transformation Matrix?

I have a simple staggered isometric map (pictured below) generated using a technique identical to the one described on stack overflow at Stack Overflow: Drawing Isometric Game Worlds. How can I ...
3
votes
4answers
140 views

Distance between two points with staggered isometric coordinate system

I don't think this exact question has been asked already (I've done a lot of searching but come up empty).. I am trying to work out what would be described as the 'L0 Tile' distance between two points ...
0
votes
1answer
42 views

Incorrect colour blending when using a pixel shader with XNA

I'm using XNA 4.0 to create a 2D game and while implementing a layer tinting pixel shader I noticed that when the texture's alpha value is anything between 1 or 0 the end result is different than ...
4
votes
1answer
235 views

Mario like jumping and landing in box2d, help

I've been trying to get Mario type jumping/landing in a Box2d game and it's been giving me some trouble. Results: Player loses velocity on landing Desired Results: When player lands it will continue ...
-1
votes
1answer
60 views

My ClanLib based Keyboard Manager not working [closed]

I created a simple Keyboard manager to detect whether buttons are currently pressed, or if where pressed in that frame. It seems like it should work, yet it seems to not read anything. Here is my ...
0
votes
0answers
94 views

Looking for an Engine for a “Super Smash Bros Style” (2D, PCs) game [closed]

I was thinking on making a "Super Smash Bros" style game with my own characters to have fun with friends, nothing serious. I was wondering what kind of game is it (if it has an specific genre) and if ...
4
votes
1answer
149 views

2D car physics and high speed turning

I've been looking at the following page, which has been very helpful: http://www.asawicki.info/Mirror/Car%20Physics%20for%20Games/Car%20Physics%20for%20Games.html but have come into problems with the ...
2
votes
0answers
110 views

Parallax background positions when jumping

I am currently building my first Mobile game. The concept is pretty simple, it's a sideways scroller. I have implemented 5 layers to act as parallax scrolling, these are working quite well for ...
0
votes
1answer
94 views

Implementing a camera on HTML5 canvas?

I am trying to work out the best way of implementing a camera in my simple 2d game. The way it is structured at the moment is my game objects all have draw functions, which are passed a canvas ...
0
votes
1answer
76 views

Character movement relative to cursor position

I want my top-down shooter character to move towards the mouse when pressing the up arrow and strafe relative at right angles to it when pressing the left and right arrow keys. I can't figure out how ...
-1
votes
2answers
82 views

Game library for 2D animation JS browsergame [closed]

I am developing a 2D multiplayer online browsergame. On the backend I have set up a Node.js server. Everything works perfectly. On the frontend I will use jQuery and several libs for collision etc. ...
12
votes
1answer
320 views

Making Procedurally Generated Top-Down Landscapes Interesting

I'm working on a game with a procedurally generated world. Ideally, I'd like to generate landscapes as beautiful as Minecraft's worlds are. Minecraft has chasms, and waterfalls, and mountains, and ...
1
vote
1answer
133 views

Application design for specific points on image

Hi guys I am starting a simple hobby app in Unity, its a 2D app, which have some alphabets like A,B,C..Z (images) . There ll be specific paths where user touch one by one to complete drawing the ...
0
votes
1answer
152 views

Develop a 2D game in Java [closed]

At first i want to mention that i already searched much on the web, also in this forum, but i couldn´t find accurate answers to my questions or only outdated answers. My goal is to write a 2D game in ...
-6
votes
0answers
36 views

Now that xna is officially dead, what framework should I go for to write games in c#? [duplicate]

I want to create a 2d game, nothing too big. something that could be created with XNA really easily. however with all windows 8 and stuff, microsoft announcing xna is dead im wondering what are my ...
3
votes
2answers
77 views

Should I target a mobile phone or simulation tools are good enough?

I'm starting mobile development, and I would want to know if it's necessary to target a specific smartphone, or nowadays one can run a simulation that will provide accurate data of how the game will ...
-3
votes
0answers
64 views

Cybernoid like game [closed]

I am looking for a framework for creating Cybernoid like game clone. For people who don't know this type of game: http://www.youtube.com/watch?v=Yfu6tuteXG4 Basically you have a spaceship that can ...
1
vote
1answer
98 views

Mega Man screen scrolling in JavaScript

I'm trying to create screen transitions similar to those found in Mega Man or Legend of Zelda (i.e. the active elements of the first screen are stopped as the screen scrolls in the direction of the ...
-1
votes
2answers
153 views

Making The Player Stop Bouncing And Stop Sinking In The Ground In A Platformer XNA

Heres a problem i've been having. I have a platformer, and whenever my player hits the ground he keeps bounding. Here's the falling code iceBoy.moveY++; iceBoy.position.Y += moveY; Now heres the ...
-1
votes
2answers
245 views

How to make a map [closed]

For school my group and I are going to make a 2d turn based strategy game on android. We are trying to make a simple version of Advanced Wars(screenshot1 Gameplay). But we don't really know how to ...
2
votes
2answers
236 views

Does my 2D OpenGL renderer need optimized?

I've started a game engine for learning purposes. I have successfully gotten an opengl renderer working and I can draw textures of varying sizes to the screen. The way I have done this is by creating ...
0
votes
2answers
209 views

Drawing Sprites in Android OpenGL efficiently?

I want to basically give myself some sprite drawing functions (making use of openGL) such as; draw(Texture,x,y) I want to do this using OpenGL-ES 2.0 on Android. Since the textures can be varying ...
1
vote
1answer
187 views

2D tile-based collisions: using different methods by tile?

I'm trying to write a collision handling method that handles each of the 9 potentially colliding tiles (the player's and the 8 around him) differently according to a "CollisionType" value attached to ...
1
vote
2answers
98 views

Defect in polygon sorting [closed]

I have a 2D game with sprites that come from texture atlases. I'm trying to resolve the sorting of my sprites for rendering. I want two sprites to be ordered by their order of insertion, or z-order, ...
-3
votes
0answers
103 views

Collision Problems in 2D [closed]

I would love if somebody could steer me in the right direction with my problem here, I have a collision manager that is in charge of handling different types of collisions in my game's levels. At the ...
9
votes
1answer
235 views

Getting a 2D “pixel” cloud to follow a mouse

I'm working on a 2D game trying to get a "cloud" of a few hundred tiny cubes or discs to follow my mouse cursor without overlapping each other. However, using the physics engine introduces ...
1
vote
0answers
74 views

iOS cocos2d - sprite gets stuck in collision detection

I'm developing a top down game in cocos2d and I have collision code that checks collisions between enemies and the player so that they don't go through each other. The code seems to work but the ...

1 2 3 4 5 19