source:
data/branches/presentation/scripts/spaceship_flight.lua
@
4112
| Last change on this file since 4112 was 4109, checked in by bensch, 19 years ago | |
|---|---|
| File size: 251 bytes | |
| Line | |
|---|---|
| 1 | -- Global Variables |
| 2 | thisscript:addObject("GameWorld", "Ambush_at_Jupiter") |
| 3 | thisscript:addObject("Spacecraft2D", "SPACE_CRAFT") |
| 4 | |
| 5 | |
| 6 | |
| 7 | function tick(timestep) |
| 8 | |
| 9 | Ambush_at_Jupiter:setPlaymode("Horizontal") |
| 10 | SPACE_CRAFT:setAirFriction(3.0) |
| 11 | |
| 12 | return true |
| 13 | end |
Note: See TracBrowser
for help on using the repository browser.










