Collision Detection and "Gravity" - How do I do it?
Currently, I'm working on a simple engine for platformers similar to Commander Keen and the old Duke Nukem games.
To scroll the screen, my engine kind of "fakes" it by scrolling the background behind the player sprite. My levels are all tile based. How would I implement collision detection?
Also, is there a way I can create a gravity effect for jumping?
Thanks,
KG_Brad
The techniques discussed in this Jump'n'Run tutorial series should be easy enough to incorporate into any tile-based 2D scroller.
Regards,
ViLiO
Regards,
ViLiO
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement