added models and changed spawnpoint

This commit is contained in:
Luca 2024-09-27 13:01:28 +02:00
parent 2cf0846597
commit 877ebafc74
1007 changed files with 120779 additions and 37 deletions

View file

@ -2,6 +2,7 @@ extends Node3D
# Game.gd - Main Entrypoint for the game
@export var skip_menu: bool = true
@export var starting_world: PackedScene
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
@ -28,7 +29,7 @@ func start_new_game() -> void:
UI.show_ingame_controls()
# Add the starting world
SceneManager.set_world("res://worlds/debug_level.tscn")
SceneManager.set_world(starting_world.resource_path)
# Add the starting player to the starting world
var player = preload("res://entities/player/player.tscn").instantiate()