Tagged Questions
3
votes
1answer
105 views
2D collision resolution: works on each axis individually, but not with both combined
My collision detection method is solid and detects box to box collision every time. Then comes the resolve part which I'm struggling with quite a bit. It works perfectly when I'm manipulating the ...
2
votes
3answers
101 views
Determining which edge a collision occurred on in a platformer
First of all, this will be Open Source, and you will be mentioned for the help.
We've been programming a Super Mario Remake for the iPhone with Cocos2d for school.
It looks pretty great, and we ...
-1
votes
1answer
217 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 ...
2
votes
1answer
138 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 ...
1
vote
1answer
346 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
1answer
123 views
Pixel perfect collisions for platforms
i'm trying to do a pixel perfect collision but i don't know how to handle collisions when there is a jump . Here i have one image of a sample map:
But maybe I've done a bad supposing all pixel like ...
0
votes
1answer
159 views
How to make AABB collisions work? [closed]
I am unable to make efficient AABB collision in XNA 4. I am making a platformer, with tile based map.
Here is what I do in my tile class :
public virtual void Update(GameTime gameTime, ...
0
votes
1answer
300 views
Platform game collisions with Block
I am trying to create a platform game and doing wrong collision detection with the blocks.
Here's my code
// Variables
GTimer jump = new GTimer(1000);
boolean onground = true;
// The update method
...
2
votes
1answer
413 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 ...
0
votes
4answers
245 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, ...
2
votes
1answer
660 views
Platformer Starter Kit - Collision Issues
I'm having trouble with my game that is based off the XNA Platformer starter kit.
My game uses smaller tiles (16x16) then the original (32x40) which I'm thinking may be having an effect on collision ...
4
votes
5answers
692 views
Should my game handle collisions in the Player object?
I'm making a 2D platform game. Right now I'm just working on making a very generic Player class. I'm wondering if it would be more efficient/better practice to have an ActionListener within the Player ...
7
votes
8answers
2k views
How do I prevent my platformer's character from clipping on wall tiles?
Currently, I have a platformer with tiles for terrain (graphics borrowed from Cave Story). The game is written from scratch using XNA, so I'm not using an existing engine or physics engine.
The tile ...
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 ...
7
votes
1answer
3k views
Microsoft XNA Platformer Example, is the Collsion Detection implemented accurately?
The example provided by Microsoft seems as if the collision detection (from what I can see) will have a small error. When the user collides with an Unpassable tile, the depth of the intersection is ...
2
votes
1answer
625 views
Platformer collision detection problems
I'm having a few problems with collision detection in my game (written in C# with SDL.Net). Detecting the floor and roof is fine, as does detecting sides of tiles when not jumping/falling. My problem ...
43
votes
7answers
4k 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
...
1
vote
2answers
653 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 ...


