source:
data/branches/presentation/scripts/spaceship_flight.lua
@
4195
| Last change on this file since 4195 was 4147, checked in by bensch, 19 years ago | |
|---|---|
| File size: 325 bytes | |
| Rev | Line | |
|---|---|---|
| [3919] | 1 | -- Global Variables |
| [4114] | 2 | thisscript:addObject("GameWorld", "Ambush_at_Uranus") |
| [4094] | 3 | thisscript:addObject("Spacecraft2D", "SPACE_CRAFT") |
| [3905] | 4 | |
| 5 | ||
| 6 | ||
| [3919] | 7 | function tick(timestep) |
| 8 | ||
| [4114] | 9 | Ambush_at_Uranus:setPlaymode("Horizontal") |
| [4147] | 10 | Ambush_at_Uranus:setSoundtrack("sound/music/00-luke_grey_-_hypermode.ogg") |
| [4109] | 11 | SPACE_CRAFT:setAirFriction(3.0) |
| [3919] | 12 | |
| [4090] | 13 | return true |
| [3919] | 14 | end |
Note: See TracBrowser
for help on using the repository browser.










