Add build directory to .gitignore, create export presets for Web and Windows Desktop, adjust z-index and mouse filter in level_1.tscn, add update_game_state function in level.gd, change main_scene path in project.godot, set rendering method to "gl_compatibility", add LevelSelect and related nodes in main_menu.tscn, create scene_manager.tscn with MainMenu node, implement functionality for menu button selection in main_menu.gd.
This commit is contained in:
parent
ca4788ce6f
commit
b6cdb68b4e
21 changed files with 499 additions and 10 deletions
14
scenes/scene_manager.tscn
Normal file
14
scenes/scene_manager.tscn
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://cbsqd08rb8f83"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cdk8rrve1fe3u" path="res://scenes/main_menu.tscn" id="1_phmcp"]
|
||||
[ext_resource type="Script" path="res://scenes/scripts/scene_manager.gd" id="1_py1pt"]
|
||||
[ext_resource type="PackedScene" uid="uid://bhy041v5u551a" path="res://scenes/transition_scene.tscn" id="2_jhpbi"]
|
||||
|
||||
[node name="SceneManager" type="Node2D"]
|
||||
script = ExtResource("1_py1pt")
|
||||
|
||||
[node name="CurrentScene" type="Node" parent="."]
|
||||
|
||||
[node name="MainMenu" parent="CurrentScene" instance=ExtResource("1_phmcp")]
|
||||
|
||||
[node name="TransitionScene" parent="." instance=ExtResource("2_jhpbi")]
|
||||
Loading…
Add table
Add a link
Reference in a new issue