Work on improving the menus

This commit is contained in:
Michał Gdula 2024-01-23 17:23:57 +00:00
parent 40c43126ca
commit 65ec70dd4a
6 changed files with 96 additions and 97 deletions

View file

@ -1,36 +1,25 @@
package application
const (
// 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 Max FPS the game should run at, used to calucalte delta time
WindowFPS = 144
var (
WindowTitle = "Colouring App"
WindowWidth int32 = 800
WindowHeight int32 = 600
WindowFPS int32 = 144
)
// Scene IDs used to determine which scene to run
const (
ScenePlayerData = iota
SceneTitle
SceneOptions
SceneGallery
SceneDrawing
)
// Directories used to store assets
const (
DirAssets = "./assets/"
DirUserData = "./userData/"
)
var (
// ShouldQuit is used to determine if the game should quit
ShouldQuit = false
// CurrentScene is the scene that is currently running, defaults to loading player data
ShouldQuit = false
CurrentScene = ScenePlayerData
)