feat: edit tiles placement

This commit is contained in:
2026-07-06 19:43:12 +08:00
parent 90ada5ace4
commit 04e40f5b76
3 changed files with 20 additions and 42 deletions
+4 -15
View File
@@ -1,6 +1,6 @@
[gd_scene format=3]
[gd_scene format=3 uid="uid://dmkx71ms3cfc"]
[ext_resource type="PackedScene" path="res://assets/models/arena/candy_survival/candy_survival_terrain.gltf" id="1_86fyc"]
[ext_resource type="PackedScene" uid="uid://h84tka1n1alg" path="res://assets/models/arena/candy_survival/candy_survival_terrain.gltf" id="1_86fyc"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_floor"]
albedo_color = Color(0.2, 0.2, 0.2, 1)
@@ -32,14 +32,6 @@ albedo_color = Color(1, 0, 1, 0.5)
material = SubResource("StandardMaterial3D_q8eld")
size = Vector3(1, 0.05, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_l6h1c"]
transparency = 1
albedo_color = Color(1, 0, 1, 0.5)
[sub_resource type="BoxMesh" id="BoxMesh_66qef"]
material = SubResource("StandardMaterial3D_l6h1c")
size = Vector3(1, 0.05, 1)
[node name="Candy Survival" type="Node3D" unique_id=1063002869]
[node name="PlaceholderFloor" type="MeshInstance3D" parent="." unique_id=932640085]
@@ -52,7 +44,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.5, 0.5, 9.5)
visible = false
mesh = SubResource("BoxMesh_cannon")
[node name="Candy Survival terrain" type="Node3D" parent="." unique_id=193457353 instance=ExtResource("1_86fyc")]
[node name="Candy Survival terrain" parent="." unique_id=193457353 instance=ExtResource("1_86fyc")]
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1749367969]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.192932, 0, 9.441385)
@@ -60,8 +52,5 @@ mesh = SubResource("PlaneMesh_ugtui")
[node name="EditorTileReference" type="MeshInstance3D" parent="." unique_id=1116403213]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
visible = false
mesh = SubResource("BoxMesh_l6h1c")
[node name="@MeshInstance3D@4" type="MeshInstance3D" parent="." unique_id=298246230]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
mesh = SubResource("BoxMesh_66qef")