@NJGreenOwl asked me to improve his engine, so I did. Except that now its broken and I can't fix it. I see nothing wrong in the code, but clearly there are several things that are very, very wrong. List of glitches: - If you go right, you enter another world. - Sometimes, it spawns more enemies than it should. - If you go up from the starting point, you become stuck in the ceiling and you cannot get out, even if you press the green flag. - Sometimes, the portal and/or the enemies won't generate. - The green flag doesn't take you back to the start. Changes: - The characters are no longer dragons. - You can die. - The enemy has physics and can move. - There are three types of enemies; one normal, one normal that was supposed to spit acid but it broke severely, and one flying. - You bounce when you jump on enemies. (Sometimes. It's kinda broken.) - There are levels and portals to travel between them (except that I cannot overstate how broken it is.)
Thanks to NJGreenOwl for making the original project.