38 lines
716 B
Lua
38 lines
716 B
Lua
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"
|
|
|
|
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
|
|
|
|
Noble.new(Menu) |