First Prototype

This commit is contained in:
Exobyt 2024-09-08 23:03:55 +02:00
parent c321b70bb0
commit eb11047456
35 changed files with 779 additions and 4 deletions

11
scenes/main/main.gd Normal file
View file

@ -0,0 +1,11 @@
extends Node
func _ready() -> void:
loadGame()
func loadGame():
G.resetValues()
for i in get_children():
i.queue_free()
add_child(load("res://scenes/game/mainGame/main_game.tscn").instantiate())

View file

@ -1,3 +1,6 @@
[gd_scene format=3 uid="uid://bwsbkfnkncfhp"]
[gd_scene load_steps=2 format=3 uid="uid://bwsbkfnkncfhp"]
[ext_resource type="Script" path="res://scenes/main/main.gd" id="1_1blp2"]
[node name="Main" type="Node"]
script = ExtResource("1_1blp2")