Files
gymkhana-actions/addons/escoria-core/game/main_scene.gd
Julian Murgia 52d19c34bd Created ESCGame class to force game.tscn scene to have empty functions by inheritance.
Also continued some tests about tooltip following mouse.
Fixed project settings wrongly set.
2021-02-11 13:40:23 +01:00

13 lines
376 B
GDScript

extends Node
# Main_scene is the entry point for Godot Engine.
# This scene sets up the main menu scene to load.
func _ready():
var main_menu_path = ProjectSettings.get_setting("escoria/ui/main_menu_scene")
var main_menu_scene = load(main_menu_path).instance()
get_tree().get_root().call_deferred("add_child", main_menu_scene)
escoria.set_main_menu(main_menu_scene)