A while back, I saw someone had made a platformer engine in <100 lines of code. The game itself worked, but collision detection wasn't great (You could jump up through a wall)
A while later, I started to make my own platformer.
The way it runs, its actually less than 100 lines of code. so here it is.
To add a new collision block, give it the first flag.
Here it is, but it isn't commented. Might do that soon.
This is some impressive work dude. It makes me wonder what the limits of other genres would be.
[Please log in to post a comment]