2024-06-01 16:52:11 +03:00
|
|
|
import "CoreLibs/easing"
|
|
|
|
import "CoreLibs/object"
|
|
|
|
import "CoreLibs/sprites"
|
|
|
|
import "CoreLibs/timer"
|
|
|
|
import "CoreLibs/ui"
|
|
|
|
|
|
|
|
-- Libraries
|
|
|
|
import 'libraries/noble/Noble'
|
|
|
|
import "libraries/AnimatedSprite"
|
|
|
|
import "libraries/pdParticles"
|
|
|
|
import "libraries/playout"
|
|
|
|
|
|
|
|
import 'utilities/enum'
|
|
|
|
import 'utilities/ui'
|
|
|
|
|
|
|
|
import "scripts/player"
|
|
|
|
import "scripts/groundSprite"
|
|
|
|
import "scripts/balebaSprite"
|
|
|
|
import "scripts/dangerSprite"
|
2024-06-01 22:46:36 +03:00
|
|
|
import "scripts/tankSprite"
|
2024-06-01 16:52:11 +03:00
|
|
|
|
|
|
|
import "scenes/BaseScene"
|
|
|
|
import 'scenes/Menu'
|
|
|
|
import 'scenes/Game'
|
|
|
|
|
|
|
|
Noble.Settings.setup({
|
|
|
|
difficulty = "Medium",
|
|
|
|
music = true
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Noble.GameData.setup({
|
|
|
|
-- score = 0
|
|
|
|
-- })
|
|
|
|
|
|
|
|
playdate.display.setRefreshRate(50)
|
|
|
|
|
|
|
|
Noble.showFPS = true
|
|
|
|
|
2024-06-01 22:46:36 +03:00
|
|
|
Noble.new(Game)
|