Log In  


Cart #10099 | 2015-04-22 | Code ▽ | Embed ▽ | No License
2

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.

2


Cart #10103 | 2015-04-22 | Code ▽ | Embed ▽ | No License

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.


Cart #10105 | 2015-04-22 | Code ▽ | Embed ▽ | No License

This version has shadows for enemies, and collision that works properly.


Cart #10107 | 2015-04-22 | Code ▽ | Embed ▽ | No License

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.


Cart #10116 | 2015-04-22 | Code ▽ | Embed ▽ | No License

Sound's added, and objects have the proper draw order now.


1

Cart #10133 | 2015-04-22 | Code ▽ | Embed ▽ | No License
1

Touched it up a bit. Got rid of some zones that messed with the player's ability to see their ship. Added lives and zone counter. Added game over state.


nice progress! very hard to play tho...



[Please log in to post a comment]