feat: Add initial main scene with grid map, UI, touch controls, and core game logic scripts.
This commit is contained in:
@@ -32,8 +32,7 @@ func _update_mesh_from_index():
|
||||
|
||||
var shapes = [
|
||||
_create_cylinder(),
|
||||
_create_box(),
|
||||
_create_sphere()
|
||||
_create_box()
|
||||
]
|
||||
|
||||
var idx = shape_index % shapes.size()
|
||||
|
||||
+6
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user