source:
data/branches/presentation/scripts/spaceship_flight.lua
@
4130
Last change on this file since 4130 was 4114, checked in by bensch, 18 years ago | |
---|---|
File size: 249 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") |
[4109] | 10 | SPACE_CRAFT:setAirFriction(3.0) |
[3919] | 11 | |
[4090] | 12 | return true |
[3919] | 13 | end |
Note: See TracBrowser
for help on using the repository browser.