added models and changed spawnpoint
This commit is contained in:
parent
2cf0846597
commit
877ebafc74
1007 changed files with 120779 additions and 37 deletions
3
game.gd
3
game.gd
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue