Tagged Questions
-8
votes
0answers
133 views
How can i detect collision using tilemap in libgdx? [closed]
I am trying to detect collision between actor and object but facing problem. If anybody having code of collision detection of tilemap than please post.
0
votes
0answers
58 views
How to manage multiple objects for a tile based game for collision?
So I'm making the tile-based 2D sandbox platformer...thing to get an idea of how to manage different elements of coding games.
Currently I'm at the point where my collision system works fine for a ...
-1
votes
1answer
142 views
Tilemap collision detection strangeness [closed]
I have used this code, or code very similar to it, to detect collisions between rectangle shaped entities and a tilemap for a long time. When I read the code it seems to me that it is impossible for ...
1
vote
2answers
311 views
Collision checking problem on a Tiled map
I'm working on a pacman styled dungeon crawler, using the free oryx sprites. I've created the map using Tiled, separating the floor, walls and treasure in three different layers. After importing the ...
3
votes
1answer
648 views
Circle-Rectangle collision in a tile map game
I am making a 2D tile map based putt-putt game.
I have collision detection working between the ball and the walls of the map, although when the ball collides at the meeting point between 2 tiles I ...
0
votes
1answer
318 views
2D Tile Based Particle Collisions
I have a basic 2D particle system and I'm now looking to implement collisions, however I'm not sure on what the best way to do it is. My game is tile based and runs in XNA Game Studio 4.0. I've seen ...
2
votes
2answers
325 views
Tile map collision is not working properly
I am having problems setting collision between my sprite and the tiles.
I have only done the code for colision for moving upwards but some places on the map it moves up and some places it doesn't.
...
-1
votes
2answers
531 views
How to calculate the direction a ball must bounce
I have a tile engine I have made. I can detect collision between the ball(the player) and the tiles. When a collision is detected all the colliding tiles are stored inside a list. My question now is, ...
1
vote
1answer
427 views
2D Tile based Game Collision problem
I've been trying to program a tile based game, and I'm stuck at the collision detection.
Here is my code (not the best ^^):
void checkTile(Character *c, int **map)
{
int x1,x2,y1,y2;
/* ...
1
vote
2answers
290 views
improve Collision detection memory usage (blocks with bullets)
i am making a action platform 2D game, something like Megaman.
I am using XNA to make it.
already made player phisics,collisions, bullets, enemies and AIs, map editor, scorolling X Y camera (about 75% ...
5
votes
2answers
1k views
Collision Detection, player correction
I am having some problems with collision detection, I have 2 types of objects excluding the player. Tiles and what I call MapObjects. The tiles are all 16x16, where the MapObjects can be any size, but ...
0
votes
2answers
483 views
How do I handle specific tile/object collisions?
What do I do after the bounding box test against a tile to determine whether there is a real collision against the contents of that tile? And if there is, how should I move the object in response to ...