Reworked player controller

This commit is contained in:
2025-11-09 22:30:22 +03:00
parent 213a0d60ed
commit 22aaeab0aa
23 changed files with 181 additions and 158 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ extends Node
func _ready() -> void:
var player : Node = load("res://game/entities/player.tscn").instantiate()
const PLAYER := preload("res://game/entities/ships/player_ship.tscn")
var player : PlayerShip = PLAYER.instantiate()
add_child(player)
player.position = Vector2(100, 100)