Add high scores level with specific settings, new resources for images and textures, update project configuration to include HighScoreMgr, and define style boxes for game theme.
This commit is contained in:
parent
3eaa959910
commit
115b4b0a69
22 changed files with 821 additions and 12 deletions
|
|
@ -3,7 +3,7 @@ class_name SceneManager
|
|||
|
||||
const SCENES : Dictionary = {
|
||||
"MAINMENU" : "res://scenes/main_menu.tscn",
|
||||
"HIGHSCORES" : "res://scenes/highscores.tscn",
|
||||
"HIGHSCORES" : "res://scenes/high_scores.tscn",
|
||||
"LEVEL1" : "res://levels/level_1.tscn",
|
||||
"LEVEL2" : "res://levels/level_2.tscn",
|
||||
"LEVEL3" : "res://levels/level_3.tscn",
|
||||
|
|
@ -15,6 +15,12 @@ const SCENES : Dictionary = {
|
|||
var loading_scene_res : Resource = null
|
||||
|
||||
func _ready():
|
||||
## LOAD GAME DATA
|
||||
HighScoreMgr.load()
|
||||
HighScoreMgr.debug_output()
|
||||
# HighScoreMgr.debug_save_high_score()
|
||||
|
||||
|
||||
Log.pr("SceneManager is ready.")
|
||||
SceneMgr.connect("change_scene", Callable(self, "_on_change_scene"))
|
||||
$TransitionScene.connect("transitioned", Callable(self, "_on_transition_scene_transitioned"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue