Tagged Questions
0
votes
1answer
107 views
SFX Played Once per Collision or Hit
I have a question about using Box2D (engine for LibGDX used to make realistic physics). I observed on the code that I've made for the physics here below:
@Override
public boolean touchUp(int screenX, ...
1
vote
2answers
315 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 ...
4
votes
4answers
462 views
More efficient in range checking
I am going to use a specific example in my question, but overall it is pretty general. I use java and libgdx.
I have a ship that moves through space. In space there is debris that the ship can ...
0
votes
1answer
759 views
removing box2d objects before collision occurs
I am having a problem with a collision detection between the character and items, both created as box2d objects.
What I am trying to do is to delete the item or remove item from the collision method ...
10
votes
1answer
2k views
How can I define a complex collision area on top of a tile map?
As many people recommended, I am using Tiled map editor to create a map for my game and it's great particularly because libgdx framework also provides with API for maps from Tiled.
I understand I can ...
0
votes
1answer
371 views
Almost working 2D Collisions
I'm terribly sorry I'm asking this question YET AGAIN, but I can almost guarantee that this will be the last time I'll have to ask.
I'm currently on the verge of FINALLY getting these collisions to ...
4
votes
4answers
4k views
2D Platformer Collisions
I've basically asked this question before, and I know it's been asked probably a billion times, but I still can't seem to do it. All I want to know is how I should go about doing basic 4-way, ...
1
vote
4answers
2k views
Basic 2D game collision
I've been trying to program a game for the past while and I can't ever figure out one thing: collision detection. I can get up+down and left+right to work, but when I put them together, they interfere ...