32 lines
658 B
Go
32 lines
658 B
Go
package config
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const (
|
|
Stop = iota
|
|
East
|
|
West
|
|
South
|
|
North
|
|
All
|
|
)
|
|
|
|
const (
|
|
PLAYERSPEED int = 5
|
|
ANIMATION_STARTWAIT time.Duration = 30 * time.Millisecond // how long to wait to start collectible animation
|
|
ANIMATION_LOOPWAIT time.Duration = 40 * time.Millisecond // how much time to wait between the sprites
|
|
LEVEL_END_WAIT time.Duration = 500 * time.Millisecond
|
|
version string = "1.2.3"
|
|
|
|
MenuRectX int = 600
|
|
MenuRectY int = 0
|
|
MenuRectCellsize int = 32
|
|
|
|
LDTK_Entity_Ref string = "Entity_ref"
|
|
LDTK_Toggle_Tile string = "Toggle"
|
|
)
|
|
|
|
var VERSION string // maintained by -x
|