A simple little 2.5d test. Arrow keys move left/right and "forward/back", Z key jumps.
I created this effect by drawing the sprite to the screen at X, Y+Z*"angle" where "angle" is a value between 0 and 1.
For this demo, it's set at 0.5.
Made the thing do some fancy depth lines and a change in the color of the landscape. Each line marks 32 units of travel, and every 1024 units you'll reach a new zone. There's also some enemies, which don't do much right now because I'm having trouble getting the collision checks to work.
Added a plasma blaster that fires with X. One-second cooldown. You get 100 points for killing an enemy, and each zone you pass awards you 1000 points times the zone number. All it really needs now is sound and maybe some stars.
336 lines of code to make this happen. Hot damn.
[Please log in to post a comment]