diff --git a/Nodes/cannon.tscn b/Nodes/cannon.tscn index 1771df1..0c377e8 100644 --- a/Nodes/cannon.tscn +++ b/Nodes/cannon.tscn @@ -1,6 +1,11 @@ -[gd_scene load_steps=2 format=3 uid="uid://byo1m0n20yl45"] +[gd_scene load_steps=3 format=3 uid="uid://byo1m0n20yl45"] [ext_resource type="Script" path="res://scripts/Modules/Cannon.gd" id="1_vdn0s"] -[node name="Cannon" type="Node"] +[sub_resource type="CylinderShape3D" id="CylinderShape3D_2geka"] + +[node name="Cannon" type="StaticBody3D"] script = ExtResource("1_vdn0s") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="."] +shape = SubResource("CylinderShape3D_2geka") diff --git a/menu/main_menu.tscn b/menu/main_menu.tscn index 91d0824..018cab6 100644 --- a/menu/main_menu.tscn +++ b/menu/main_menu.tscn @@ -13,7 +13,6 @@ grow_vertical = 2 script = ExtResource("1_hyw8p") [node name="ColorRect" type="ColorRect" parent="."] -layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 @@ -22,7 +21,6 @@ grow_vertical = 2 color = Color(0.513726, 0.403922, 0.27451, 1) [node name="VBoxContainer" type="VBoxContainer" parent="."] -layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 @@ -36,27 +34,22 @@ grow_horizontal = 2 grow_vertical = 2 [node name="Start" type="Button" parent="VBoxContainer"] -layout_mode = 2 text = "Start " [node name="Tutorial" type="Button" parent="VBoxContainer"] -layout_mode = 2 text = "Tutorial " [node name="Settings" type="Button" parent="VBoxContainer"] -layout_mode = 2 text = "Volume:" [node name="VolSlider" type="HSlider" parent="VBoxContainer"] -layout_mode = 2 min_value = -30.0 max_value = 0.0 script = ExtResource("2_h85ei") [node name="Quit" type="Button" parent="VBoxContainer"] -layout_mode = 2 text = "Quit" [connection signal="pressed" from="VBoxContainer/Start" to="." method="_on_start_pressed"]