|
|
@ -1,4 +1,4 @@ |
|
|
|
[gd_scene load_steps=18 format=2] |
|
|
|
[gd_scene load_steps=19 format=2] |
|
|
|
|
|
|
|
[ext_resource path="res://Scripts/Player.gd" type="Script" id=1] |
|
|
|
[ext_resource path="res://Models/Arrow.obj" type="ArrayMesh" id=2] |
|
|
@ -14,6 +14,7 @@ |
|
|
|
[ext_resource path="res://Images/BatteryFilling.png" type="Texture" id=12] |
|
|
|
[ext_resource path="res://Images/BatteryBackground.png" type="Texture" id=13] |
|
|
|
[ext_resource path="res://Models/cone-collision.tres" type="Shape" id=14] |
|
|
|
[ext_resource path="res://Models/Cone.obj" type="ArrayMesh" id=15] |
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape" id=1] |
|
|
|
radius = 0.15 |
|
|
@ -478,6 +479,11 @@ angular_damp = 0.0 |
|
|
|
transform = Transform( 25, 0, 0, 0, -4.07302e-06, -100, 0, 25, -1.62921e-05, 0, 1000, 0 ) |
|
|
|
shape = ExtResource( 14 ) |
|
|
|
|
|
|
|
[node name="Cone" type="MeshInstance" parent="GunContainer/Cone/CollisionShape"] |
|
|
|
visible = false |
|
|
|
mesh = ExtResource( 15 ) |
|
|
|
material/0 = ExtResource( 4 ) |
|
|
|
|
|
|
|
[node name="spaceship-gun" parent="GunContainer" instance=ExtResource( 10 )] |
|
|
|
transform = Transform( 1, 0, 1.64203e-15, 0, 1, 0, 1.64203e-15, 0, 1, 4.47035e-08, 0.811224, -3.54597e-08 ) |
|
|
|
|
|
|
@ -571,6 +577,18 @@ __meta__ = { |
|
|
|
"_edit_use_anchors_": false |
|
|
|
} |
|
|
|
|
|
|
|
[node name="WeaponVisualiserMenu" type="OptionButton" parent="WeaponsPanel"] |
|
|
|
anchor_left = 0.5 |
|
|
|
anchor_top = 0.8 |
|
|
|
anchor_right = 0.5 |
|
|
|
anchor_bottom = 0.8 |
|
|
|
margin_left = -50.0 |
|
|
|
margin_right = 50.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
text = "None" |
|
|
|
items = [ "None", null, false, 0, null, "Self", null, false, 1, null, "Everyone", null, false, 2, null ] |
|
|
|
selected = 0 |
|
|
|
|
|
|
|
[node name="StatusPanel" type="Panel" parent="."] |
|
|
|
visible = false |
|
|
|
anchor_left = 0.5 |
|
|
@ -645,3 +663,4 @@ margin_bottom = -10.0 |
|
|
|
[connection signal="pressed" from="ThrustPanel/ResetButton" to="." method="_on_ResetButton_pressed"] |
|
|
|
[connection signal="body_entered" from="GunContainer/Cone" to="." method="_on_player_enter_firing_arc"] |
|
|
|
[connection signal="body_exited" from="GunContainer/Cone" to="." method="_on_player_exit_firing_arc"] |
|
|
|
[connection signal="item_selected" from="WeaponsPanel/WeaponVisualiserMenu" to="." method="_on_WeaponVisualiserMenu_item_selected"] |