Initial commit of Escoria-Reloaded. Still a lot of missing stuff.
This commit is contained in:
10
addons/escoria-core/game/main_scene.gd
Normal file
10
addons/escoria-core/game/main_scene.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
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/main/main_menu_scene")
|
||||
var main_menu = escoria.change_scene_path(main_menu_path)
|
||||
escoria.set_main_menu(main_menu)
|
||||
|
||||
Reference in New Issue
Block a user