|
@@ -9,6 +9,7 @@ function level5.load() |
|
|
playbutts = {} |
|
|
playbutts = {} |
|
|
guibutts = {} |
|
|
guibutts = {} |
|
|
thrusterMax = 100 |
|
|
thrusterMax = 100 |
|
|
|
|
|
cameraControl = true |
|
|
firstShip.fuel = 100 |
|
|
firstShip.fuel = 100 |
|
|
VCAM.x, VCAM.y = 0, WINDOW_HEIGHT/2 |
|
|
VCAM.x, VCAM.y = 0, WINDOW_HEIGHT/2 |
|
|
explosions = {} |
|
|
explosions = {} |
|
@@ -31,8 +32,8 @@ function level5.load() |
|
|
table.insert(guibutts, menu:addButton("To menu", function () |
|
|
table.insert(guibutts, menu:addButton("To menu", function () |
|
|
levelgeneral.goBack() |
|
|
levelgeneral.goBack() |
|
|
end)) |
|
|
end)) |
|
|
table.insert(planets, planet(0, 2000, 50, 0.3, asteroidImage, "nodelete")) |
|
|
|
|
|
table.insert(planets, planet(100, 2000, 50, 0.3, asteroidImage, "nodelete")) |
|
|
|
|
|
|
|
|
table.insert(planets, planet(-100, 2000, 50, 0.3, asteroidImage, "nodelete")) |
|
|
|
|
|
table.insert(planets, planet(200, 2000, 50, 0.3, asteroidImage, "nodelete")) |
|
|
table.insert(planets, planet(50, 1700, 50, 0.3, asteroidImage, "nodelete")) |
|
|
table.insert(planets, planet(50, 1700, 50, 0.3, asteroidImage, "nodelete")) |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|