| |
Iapetus/Algarbi/Wood
Registered: Dec 2004 Posts: 71 |
collision detection
Hello all,
I am programming a game and I have started to program the movement of the main character, I am using the bitmap mode, I have created a table where I store the position of obstacles. I read this map to check if the sprite is touching a tile or not to the left, right, up and down. I would like to know what approaches do you use or would use in this case. the protagonist should walk and jump over tiles. Is the collision detection from vic any good? |
|
... 10 posts hidden. Click here to view all posts.... |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
well allright then. you got your algorythm wrong. try a troughout testing with nailing the problem down to extremely simplistic situations. |
| |
Iapetus/Algarbi/Wood
Registered: Dec 2004 Posts: 71 |
It is working now, it was a tiny bug but that made me think that the collision detection routine was wrong, I was not updating one variable somewhere :S grrr thank you guys for the help |
Previous - 1 | 2 - Next |