CyberTower/scripts/Tower.gd
2024-02-16 18:10:00 +08:00

6 lines
133 B
GDScript

extends Area2D
func _ready():
var screen_size = get_viewport_rect().size
position = Vector2(screen_size.x / 2, screen_size.y / 2)