-
as seen on Game Development
- Search for 'Game Development'
I'm working on a 2D game in which I would like to do collision detection between a moving circle and some kind of static curves (maybe Bezier curves).
Currently my game features only straight lines as the static geometry and I'm doing the collision detection by calculating the distance from the circle…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
So I'm messing around with collision detection in my tile-based game and everything works fine and dandy using this method. However, now I am trying to implement sprite sheets so my character can have a walking and jumping animation.
For one, I'd like to to be able to have each frame of variable…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I would like to know if this is a good idea that conforms to best practices that does not lead to obscenely confusing code or major performance hit(s):
Make my own Collision detection class that extends Rectangle class.
Then when instantiating that object doing something such as Collision col =…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Well, I was searching for a simple collision detection function for as3, I found Collision Detection Kit, but it is too complicated, I just want a damn function that I give 2 objects as paramenters and that's it.
I would like to know where can I find a pixel-perfect collision detection function (The…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm creating a 2D game and want to test for collision between an OBB (Oriented Bounding Box) and a Circle. I'm unsure of the maths and code to do this. I'm creating the game in c++ and opengl.
>>> More