Log In  
18

Cart [#36065#] | Copy | Code | 2017-01-19 | Link
18

Hi all! I think this is complete as I can't fit any more code in.

You can also find this on github here.

Controls
(change style in options > mouse+music > control mode)

Gamepad
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

Mouse
Ship will rotate to face mouse cursor
right click thrusts forward
left click shoots

Stylus (PocketChip)
Tap and hold near the ship will rotate
Tap and hold far from the ship will thrust in that direction

Features

- [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

Random Ships

Minimap and Overlay

Overkill Starfield

Starfield Options

Gas Giants

Terran Planets (and more!)

Credit to @gamax92 for the 3D planet rotation!

Older Versions


Cart [#35379#] | Copy | Code | 2017-01-10 | Link
18

Cart [#34722#] | Copy | Code | 2017-01-02 | Link
18

space exploration
P#33381 2016-12-12 00:24

5

Cart [#32443#] | Copy | Code | 2016-11-13 | Link
5

Hi all,
I'm working on a space game with procedurally generated planets and thought others may benefit from the simplex noise functions I'm using.

This is ported the reference examples at:

http://staffwww.itn.liu.se/~stegu/simplexnoise/Noise.lua

The whitepaper can be found here:

http://www.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf

Feel free to use. Be aware that perlin noise (predecessor to simplex noise) has a patent. Here's an alternative: OpenSimplexNoise

Enjoy!

Edit: That patent is for simplex noise

noise terrain
P#32444 2016-11-13 16:15


:: More
X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2017-11-19 10:05 | 0.256s | 1835k | Q:43