I have made a site @ Sparky2X for me and my GP2X stuff. I will be posting regular updates on the game. :)
Btw, thanks for the sdl-collide library link. It was very helpful.
The problem is that the ship is shaped like a triangle. So that would cause a lot of inaccuracy if using a rectangle.
The solution I guess would be to use a Collision Polygon for each sprite.
Thanks for the link rokdcasbah, I think maybe I can use that along with the Collision Polygon idea to...
Thanks for the reply. I guess I will stick to simple box collision detection till I figure out how to get more complex collision detection working.
And Thanks for the link - it looks very useful.
:)
I was wondering if collision detection (simple) was available in SDL libraries. I have two alpha-masked bitmaps and I want to check if a collision occurs. Do I have to do this manually by checking pixels? Or is there a routine available for this?
Also, if I have to implement it myself, can...
I am writing a game for the GP2X, a clone of the classic Space Invaders. I plan to release the source under GPL. How exactly do I do this? Also, I am writing the code in a modularised way so that the "engine" can be re-used for other 2D games. So, I felt this would be all the more reason to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.