This commit is contained in:
Michał Gdula 2024-01-15 12:19:49 +00:00
parent 2e2ae6b9a0
commit dc7506c947
7 changed files with 46 additions and 35 deletions

View file

@ -1,24 +1,37 @@
package application
const (
WindowTitle = "Colouring App"
// WindowTitle used as the Windows Title but also used for the name of the game
WindowTitle = "Colouring App"
// Defines the window proportions
WindowWidth = 800
WindowHeight = 600
WindowFPS = 60
// WindowFPS Max FPS the game should run at, used to calucalte delta time
WindowFPS = 60
)
// Scene IDs used to determine which scene to run
const (
ScenePlayerData = iota
SceneTitle
SceneOptions
SceneGallery
SceneDraw
SceneGame
)
// Directories used to store assets
const (
DirAssets = "./assets/"
DirPlayerData = "./playerData/"
)
var CurrentScene = ScenePlayerData
var (
// ShouldQuit is used to determine if the game should quit
ShouldQuit = false
var ShouldQuit = false
// CurrentScene is the scene that is currently running
CurrentScene = ScenePlayerData
)