summaryrefslogtreecommitdiffstats
path: root/assets/weapons/goo_gun/GooGun.tscn
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2022-07-22 05:26:34 -0400
committerMalfurious <m@lfurio.us>2022-07-22 05:26:34 -0400
commit44e739bb05542d1249ccf8388bd15b3f0b052e0c (patch)
tree42a67300e8e2ebcbd9868e6af1f7e992b285c3c6 /assets/weapons/goo_gun/GooGun.tscn
parent4a9ff23bb13bfe5c182222fdb4314afc4f5c1fa8 (diff)
parentea3ecd73dab3e0e06bb145b38e8258b9dd02abcb (diff)
downloadproject-s-44e739bb05542d1249ccf8388bd15b3f0b052e0c.tar.gz
project-s-44e739bb05542d1249ccf8388bd15b3f0b052e0c.zip
Merge branch 'weapon-behavior'
Implements the basics for the Goo Gun primary fire * weapon-behavior: Despawn bullets on collision with another physics body Tweak Goo Gun bullet physics to better mimic reference weapon Implement Goo Gun primary fire Add bullet / ink pellet object for Goo Gun
Diffstat (limited to 'assets/weapons/goo_gun/GooGun.tscn')
-rw-r--r--assets/weapons/goo_gun/GooGun.tscn4
1 files changed, 3 insertions, 1 deletions
diff --git a/assets/weapons/goo_gun/GooGun.tscn b/assets/weapons/goo_gun/GooGun.tscn
index f0b9622..edf2901 100644
--- a/assets/weapons/goo_gun/GooGun.tscn
+++ b/assets/weapons/goo_gun/GooGun.tscn
@@ -1,7 +1,8 @@
-[gd_scene load_steps=7 format=2]
+[gd_scene load_steps=8 format=2]
[ext_resource path="res://assets/weapons/goo_gun/gun_material.tres" type="Material" id=1]
[ext_resource path="res://assets/weapons/goo_gun/tank_material.tres" type="Material" id=2]
+[ext_resource path="res://assets/weapons/goo_gun/GooGun.gd" type="Script" id=3]
[sub_resource type="CubeMesh" id=1]
material = ExtResource( 1 )
@@ -23,6 +24,7 @@ bottom_radius = 0.088
height = 0.429
[node name="GooGun" type="Spatial"]
+script = ExtResource( 3 )
[node name="Body" type="MeshInstance" parent="."]
mesh = SubResource( 1 )