fix: empty out all gridmap layers under candy pump and use precise duration timer for projectile destruction
This commit is contained in:
+10
-11
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://ddy2r7xto80gq"]
|
||||
[gd_scene format=3 uid="uid://ddy2r7xto80gq"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/controllers/candy_cannon_controller.gd" id="1_canon"]
|
||||
[ext_resource type="Script" uid="uid://du7cne5070ia0" path="res://scripts/controllers/candy_cannon_controller.gd" id="1_canon"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_base"]
|
||||
albedo_color = Color(0.15, 0.15, 0.2, 1)
|
||||
@@ -42,36 +42,35 @@ material = SubResource("StandardMaterial3D_pipe")
|
||||
inner_radius = 0.95
|
||||
outer_radius = 1.15
|
||||
rings = 32
|
||||
tube_segments = 12
|
||||
|
||||
[node name="CandyCannon" type="Node3D"]
|
||||
[node name="CandyCannon" type="Node3D" unique_id=1515964905]
|
||||
script = ExtResource("1_canon")
|
||||
|
||||
[node name="Base" type="MeshInstance3D" parent="."]
|
||||
[node name="Base" type="MeshInstance3D" parent="." unique_id=867716100]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
|
||||
mesh = SubResource("CylinderMesh_base")
|
||||
|
||||
[node name="Tank" type="MeshInstance3D" parent="."]
|
||||
[node name="Tank" type="MeshInstance3D" parent="." unique_id=2051786234]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.4, 0)
|
||||
mesh = SubResource("SphereMesh_tank")
|
||||
|
||||
[node name="Pipe" type="MeshInstance3D" parent="."]
|
||||
[node name="Pipe" type="MeshInstance3D" parent="." unique_id=491265631]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.7, 0)
|
||||
mesh = SubResource("CylinderMesh_pipe")
|
||||
|
||||
[node name="Ring1" type="MeshInstance3D" parent="."]
|
||||
[node name="Ring1" type="MeshInstance3D" parent="." unique_id=1607309179]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.4, 0)
|
||||
mesh = SubResource("TorusMesh_ring")
|
||||
|
||||
[node name="Ring2" type="MeshInstance3D" parent="."]
|
||||
[node name="Ring2" type="MeshInstance3D" parent="." unique_id=850923213]
|
||||
transform = Transform3D(0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, 0, 1, 0, 1.4, 0)
|
||||
mesh = SubResource("TorusMesh_ring")
|
||||
|
||||
[node name="Ring3" type="MeshInstance3D" parent="."]
|
||||
[node name="Ring3" type="MeshInstance3D" parent="." unique_id=677024967]
|
||||
transform = Transform3D(0.707107, -0.707107, 0, 0.707107, 0.707107, 0, 0, 0, 1, 0, 1.4, 0)
|
||||
mesh = SubResource("TorusMesh_ring")
|
||||
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="." unique_id=1751121483]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8, 0)
|
||||
light_color = Color(1, 0.4, 0.8, 1)
|
||||
light_energy = 3.0
|
||||
|
||||
Reference in New Issue
Block a user