Tagged Questions
-1
votes
0answers
76 views
What's the idea on the base of rendering camera on 2D platformers games? [closed]
I'm programming a 2D platformer game, and I am wondering about how the right to left scrolling of the camera is done in a game like this.
There is a background that need to be updated. There are also ...
-1
votes
1answer
183 views
How was traditional 2D collision detection/resolution being done? [closed]
Just out of pure curiosity, I'm wondering how classic 2D games of the 80s/90s (The Legend of Zelda, Super Mario, Warcraft, ...) approached collision detection/resolution.
For some reason I can't ...
0
votes
0answers
84 views
SDL - Sprite “Ghosting”
I'm using SDL to create a 2D side-scrolling platformer, but I'm getting ghosting from the sprite. I'm not used to programming with graphics or SDL so excuse any stupid remarks I make.
Here's the ...
2
votes
1answer
121 views
How to do 2D Raycasting on a slope
I have a 2d platformer game where my slope can be set at any angle, so I've setup a middle raycast that points to the ground onto the player to handle the collision. This works perfectly fine on a ...
0
votes
1answer
56 views
Putting a 2d camera into a gamestatemanagement sample [closed]
Hello everyone i am new to xna and i am trying to implement a simple 2d camera that follows my sprite around the level i am using a gamestatemanagement so i have the basic platformer with screen ...
1
vote
3answers
132 views
Creating an update “Tick” on tiles for simulating growth of plants
In my 2D tile based platformer I have added plants to be able to farm such as the simplest, grass, to other things like corn. Now each of these speacial tiles must be updated to show how much it has ...
1
vote
1answer
288 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 ...
-1
votes
2answers
182 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 ...
4
votes
2answers
138 views
Why is my collision resolution failing on the corners?
I'm tearing my hair out trying to work out how to handle my collision resolution at the corners of the rectangles that I'm colliding with.
The code that I'm working with is:
class Player(object):
...
0
votes
0answers
80 views
Managing shots of the player [closed]
I'm currently developing a 2D Jump'n'Run and the situation is the following: The player has different weapons he can collect and is then able to shoot the weapon's projectiles (laser, rockets, ...
0
votes
1answer
117 views
Storing large array of tiles, but allowing easy access to data
I've been thinking about this for a while. I have a 2D tile bases platformer in XNA with a large array of tile data, I've been running into memory problems with large maps. (I will add chunks soon!)
...
2
votes
1answer
405 views
Trouble with AABB collision response and physics
I have been racking my brain trying to figure out a problem I am having with physics and basic AABB collision response. I am fairly close as the physics are mostly right. Gravity feels good and ...
4
votes
2answers
207 views
Detecting a ledge in Box2D [duplicate]
Possible Duplicate:
Detect Open Space in Farseer
How do I detect ledges?
I'm making a 2D platformer with Box2D. The player needs to be able to grab onto a ledge and pull him/herself up.
...
2
votes
2answers
295 views
One-way platform collision
I hate asking questions that are specific to my own code like this, but I've run into a pesky roadblock and could use some help getting around it. I'm coding floating platforms into my game that will ...
3
votes
2answers
682 views
Platformer Enemy AI
I'm currently developing a platformer shooter. The game is multiplayer and while my net code could use some real work I have put that off for the time, so currently I'm trying to implement the AI.
...
3
votes
3answers
397 views
Tile based platformer, using larger tiles?
So for my tile based platformer, It has a grid of tiles Occupying 1x1 block for each one.
However, What if I want larger tiles? Maybe doors, tables, etc. They wouldnt fit in a 1x1 tile, so what I ...
3
votes
1answer
802 views
The Physics behind 2D Platformer Games?
Is there any good book or tutorial that explains the physics behind creating a 2D Platformer game? Such as tile rendering, tile map reading, collision detection, camera movement etc.?
0
votes
4answers
241 views
Big level objects collision system for 2d game
I read many variants today and get some knowledge in general, so here is a steps of mine thoughts in pictures (horrible paint.net ones).
We need to develop grid system, so we check only thing near, ...
4
votes
1answer
232 views
How to cull liquids
I use culling on my Tiles in my 2D Platformer (XNA), so only ones needed are drawn on screen. Thats easy to do.
However, My Liquid tiles (Water, lava, etc) require an Update Method aswell as the ...
2
votes
1answer
476 views
Handling hitboxes
So I have an issue that I'm laughing at myself about, because it really seems like it should be something that I should be able to figure out pretty quickly.
I am designing a 2D action platformer; I ...
4
votes
1answer
946 views
Slopes in 2D Platformer
I'm dealing with Slopes in a 2D platformer game I'm developing in XNA Game Studio. I was really tired of trying without success, until I found this post: 45° Slopes in a Tile based 2D platformer, ...
4
votes
1answer
1k views
Collision with tile corners/seams in 2D platformer
There seems to be a lot of somewhat related questions answered already, but none I read answered my exact problem.
I have a 2D platformer whose world is made entirely out of tiles that are in a ...
2
votes
2answers
154 views
How to do reflective collisions with particles hitting background tiles?
In my 2d pixel old-school platformer, I'm looking for methods for bouncing particles off of background tiles. Particles aren't affected by gravity and collisions are "reflective". By that I mean a ...
2
votes
2answers
1k views
2D side scroller - How to implement X/Y movement?
I'm currently writing a small 2D, side-scroller-ish kind of game.
I have a simple camera that follows the player around and the physics are ready.
I'm using 32x32 tiles that build out the world, ...
0
votes
1answer
336 views
objective-c iphone sdk side scrolling
I was making a game and I did the side scrolling like this: if the player get past 150, the player stops moving and the background starts moving. But thats very annoying with placing objects in the ...
1
vote
2answers
1k views
Box2D Platform body not moving player body along with it
I am creating a game using Box2D (Javascript implementation) - and I added the ability to have a static platform, that is moved along an axis as a function of a sine.
My problem is when the player ...
43
votes
7answers
3k views
2D Platformer AABB collision problems
I have a problem with AABB collision resolution.
I resolve AABB intersection by resolving the X axis first, then the Y axis.
This is done to prevent this bug: http://i.stack.imgur.com/NLg4j.png
...
22
votes
6answers
4k views
A way to store potentially infinite 2D map data?
I have a 2D platformer that currently can handle chunks with 100 by 100 tiles, with the chunk coordinates are stored as longs, so this is the only limit of maps (maxlong*maxlong).
All entity positions ...
1
vote
2answers
642 views
Getting 2D Platformer entity collision Response Correct (side-to-side + jumping/landing on heads)
I've been working on a 2D (tile based) 2D platformer for iOS and I've got basic entity collision detection working, but there's just something not right about it and I can't quite figure out how to ...
3
votes
2answers
3k views
Starting Java 2D Platformer using LWJGL
Getting started on a 2d platforming project in java. I've decided on using LWJGL and OpenGL, but I don't quite know where to start. What is typically the first thing one would work on with a ...



