Hi all! I think this is complete as I can't fit any more code in.
You can also find this on github here.
(change style in options > mouse+music > control mode)
left, right - turn ship
up - thrust forward
down - point in the opposite direction of movement
z - open and close the pause/ship menu (use arrow keys to make selections]
x - fire weapon
Ship will rotate to face mouse cursor
right click thrusts forward
left click shoots
Tap and hold near the ship will rotate
Tap and hold far from the ship will thrust in that direction
- [x] Simple 2D Newtonian Flight Model - [x] Procedurally generated ships - [x] Procedurally generated planets - [x] 3D planet rotation (courtesy of gamax92) - [x] Simple autopilot - [x] Multicannons - [x] Explosions - [x] Ok AI - [x] Title screen (courtesy of EatMoreCheese) - [x] Homing missiles - [x] Off-screen targeting and missile impacts - [x] Better token optimization - [x] More planet types - [x] Shipyards - [x] Dogfights - [x] Sound Effects - [x] Music - [x] Gamepad, Mouse, or stylus control styles - [x] Configurable starfield graphics - [ ] Inventory with items and more weapons - [ ] Save games?
Out of date GIFs:
Defend your planet
Get blown up
Minimap and Overlay
Terran Planets (and more!)
@EatMoreCheese Sounds good! Whatever you can come up with for any or all of: title screen, ship engine sounds, weapons fire, explosions or music is much appreciated! The heliopause.p8 file you can use for development is on github here: https://github.com/AnthonyDiGirolamo/heliopause.pico-8/blob/master/heliopause.p8 Feel free to collaborate there or here whatever works for you.
Thanks! For the inability to move, my guess is your ship health was < 10%. At that point the engines are completely disabled. Between 10 and 20% the thrust will randomly cut-out. I should probably add a repair option in the landed menu or get rid of the complete engine failure.
For now you can give yourself a new ship anytime in the debug menu ( Options > Debug > New Ship ).
For sfx these would be great to have:
- laser fire
- laser impact
- missile launch
- missile impact
- missile reloading?
- engine firing
- ship explosion
- menu selection
- notification popup?
- low health warning?
Not sure if some are really necessary but that's what I could think of :-)
Update to v0.83. The code is no longer minified and is readable within pico8!
Getting the compressed size below 15k was rough. A lot of indentation was removed and variables renamed but everything is still readable.
Updated to v1.1 now with sfx, music, and mouse+stylus controls!
I'm a complete music noob and attempted to translate a song into the pico-8 world "Welcome to Lunar Industries" from The Moon soundrack. I'm not sure it fits but it was a great learning experience.
[Please log in to post a comment]