aboutsummaryrefslogtreecommitdiffstats
path: root/Bullet.tscn
diff options
context:
space:
mode:
authorfreddie-a <57713959+freddie-a@users.noreply.github.com>2022-10-29 22:45:55 +0100
committerfreddie-a <57713959+freddie-a@users.noreply.github.com>2022-10-29 22:45:55 +0100
commit136c6918c7d9f3ebe12c4535c438a2c67f01c110 (patch)
tree66360dea71d9c02b2d2f8d864e6ee0448c7b6e0a /Bullet.tscn
parenta4ac6fe79a37824f3f720f4a3c468172461f70d7 (diff)
Add bullet collisions
Diffstat (limited to 'Bullet.tscn')
-rw-r--r--Bullet.tscn7
1 files changed, 2 insertions, 5 deletions
diff --git a/Bullet.tscn b/Bullet.tscn
index d2f4c14..f79445f 100644
--- a/Bullet.tscn
+++ b/Bullet.tscn
@@ -3,17 +3,14 @@
[ext_resource path="res://Bullet.gd" type="Script" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
-[sub_resource type="CapsuleShape2D" id=1]
-radius = 8.0
+[sub_resource type="RectangleShape2D" id=1]
+extents = Vector2( 31, 31 )
[node name="Bullet" type="KinematicBody2D"]
-position = Vector2( 648, 360 )
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
-position = Vector2( -1, 1 )
shape = SubResource( 1 )
-disabled = true
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )