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