alpha 0.1
This commit is contained in:
@@ -14,6 +14,7 @@ import "libraries/playout"
|
||||
|
||||
import 'utilities/enum'
|
||||
import 'utilities/ui'
|
||||
import 'utilities/utils'
|
||||
|
||||
ZIndex = {
|
||||
player = 4,
|
||||
@@ -33,6 +34,42 @@ CollideGroups = {
|
||||
wall = 5
|
||||
}
|
||||
|
||||
Drones = {
|
||||
{
|
||||
name = "Quad FPV",
|
||||
description =
|
||||
"This is a quadrocopter with a camera on it. It's a good drone for beginners. It's easy to control and has a good battery life.",
|
||||
price = 100,
|
||||
locked = false,
|
||||
preview = Graphics.image.new("assets/sprites/assemble/1/preview.png"),
|
||||
full = Graphics.image.new("assets/sprites/assemble/1/8.png")
|
||||
},
|
||||
{
|
||||
name = "Drone 2",
|
||||
description = "This is a drone",
|
||||
price = 200,
|
||||
locked = true,
|
||||
preview = nil,
|
||||
full = nil
|
||||
},
|
||||
{
|
||||
name = "Drone 3",
|
||||
description = "This is a drone",
|
||||
price = 300,
|
||||
locked = true,
|
||||
preview = nil,
|
||||
full = nil
|
||||
},
|
||||
{
|
||||
name = "Drone 4",
|
||||
description = "This is a drone",
|
||||
price = 400,
|
||||
locked = true,
|
||||
preview = nil,
|
||||
full = nil
|
||||
}
|
||||
}
|
||||
|
||||
import "scripts/player"
|
||||
import "scripts/bigBoomSprite"
|
||||
import "scripts/groundSprite"
|
||||
@@ -40,23 +77,47 @@ import "scripts/balebaSprite"
|
||||
import "scripts/dangerSprite"
|
||||
import "scripts/tankSprite"
|
||||
import "scripts/progressBar"
|
||||
import "scripts/selectionSprite"
|
||||
|
||||
import "scenes/BaseScene"
|
||||
import 'scenes/Assemble'
|
||||
import 'scenes/DroneSelection'
|
||||
import 'scenes/Menu'
|
||||
import 'scenes/Game'
|
||||
import 'scenes/Assemble'
|
||||
|
||||
Difficulty = {
|
||||
Easy = "Easy",
|
||||
Medium = "Medium",
|
||||
Hard = "Hard"
|
||||
}
|
||||
|
||||
DifficultySettings = {
|
||||
[Difficulty.Easy] = {
|
||||
assebleTime = 2500,
|
||||
},
|
||||
[Difficulty.Medium] = {
|
||||
assebleTime = 1500,
|
||||
},
|
||||
[Difficulty.Hard] = {
|
||||
assebleTime = 800,
|
||||
}
|
||||
}
|
||||
|
||||
Noble.Settings.setup({
|
||||
difficulty = "Medium",
|
||||
difficulty = Difficulty.Medium,
|
||||
music = true
|
||||
})
|
||||
|
||||
-- Noble.GameData.setup({
|
||||
-- score = 0
|
||||
-- })
|
||||
Noble.GameData.setup({
|
||||
drone1 = 0,
|
||||
drone2 = 0,
|
||||
drone3 = 0,
|
||||
drone4 = 0,
|
||||
money = 150
|
||||
})
|
||||
|
||||
playdate.display.setRefreshRate(50)
|
||||
|
||||
Noble.showFPS = true
|
||||
|
||||
Noble.new(Assemble)
|
||||
Noble.new(Menu)
|
||||
|
||||
Reference in New Issue
Block a user