feat: Add initial main scene with grid map, UI, touch controls, and core game logic scripts.

This commit is contained in:
Yogi Wiguna
2026-02-18 11:50:10 +08:00
parent 489e31fb39
commit 446e142a29
4 changed files with 12 additions and 19 deletions
+6 -1
View File
@@ -42,7 +42,12 @@ func update_visual_position():
# Side offset: place it near the edge
# Using NW corner (+0.2, +0.2) instead of center (+0.5, +0.5)
position = Vector3(current_position.x + 0.2, floor_y, current_position.y + 0.2)
var offset = 0.2
if is_static_turret:
offset = 0.5
floor_y = 0.6
position = Vector3(current_position.x + offset, floor_y, current_position.y + offset)
func move_to(target_pos: Vector2i):
if is_moving or is_carried or is_thrown: return