egtting there

This commit is contained in:
Tabby 2025-05-16 01:29:12 +10:00
parent f16d046a6c
commit 35db2250f7
23 changed files with 395 additions and 11 deletions

View file

@ -5,6 +5,7 @@ extends Camera2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
GameManager.prepare.connect(start_arena_cam)
pass # Replace with function body.
@ -12,12 +13,12 @@ func _ready() -> void:
func _process(delta: float) -> void:
if(following):
global_position = target.global_position
if(Input.is_action_just_pressed("ui_right")):
start_arena_cam()
#if(Input.is_action_just_pressed("ui_right")):
#start_arena_cam()
pass
func start_arena_cam():
print("weh!")
#print("weh!")
following = false
position = Vector2(320,180)
#offset = Vector2(0,0)