From 136c6918c7d9f3ebe12c4535c438a2c67f01c110 Mon Sep 17 00:00:00 2001 From: freddie-a <57713959+freddie-a@users.noreply.github.com> Date: Sat, 29 Oct 2022 22:45:55 +0100 Subject: Add bullet collisions --- Bullet.tscn | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Bullet.tscn') 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 ) -- cgit v1.2.3-70-g09d2