feature/update-main-ui (#66)

Co-authored-by: stilobique-i7 <aurelienvlt@free.fr>
Co-authored-by: VAILLANT Jeremy <vaillant.jeremy@dev-crea.com>
Reviewed-on: Athena/game-source#66
Co-authored-by: darknight <vaillant.jeremy@dev-crea.com>
Co-committed-by: darknight <vaillant.jeremy@dev-crea.com>
This commit is contained in:
darknight
2021-06-03 22:18:50 +02:00
parent 1c45fac8cb
commit 0debe0d2d3
38 changed files with 676 additions and 285 deletions
+24
View File
@@ -0,0 +1,24 @@
extends Node
## Events for loading scene
####
func _loading_is_started(_anim_name):
print("[Event#_loading_is_started]")
Global.loaded = false
func _loading_is_finished(_anim_name):
print("[Evenst#_loading_is_finished]")
Global.loaded = true
# events for load scene level
####
func _on_warcraft_pressed():
Global.current_scene_int = 0
Global.goto_scene("res://scenes/levels/warcraft/WarCraft.tscn")
func _on_reset_level(level, node, index, parent):
Global.current_scene_int = index
level.reset()
parent.configure_reset(level, node, index)
parent.configure_counter(level, node)
Global.current_scene_int = null