diff options
| author | LeightonGinty <leightonginty@gmail.com> | 2022-10-29 16:37:26 +0100 |
|---|---|---|
| committer | LeightonGinty <leightonginty@gmail.com> | 2022-10-29 16:37:26 +0100 |
| commit | 4c0bd4f0ab32a2489130d04b08c39d008c8c9961 (patch) | |
| tree | 75d2c138b24bb09ab15ce7f1204b69cfe7a40abe /Bullet.tscn | |
| parent | 078392d1d4478e552d362c2e76c2d50a1917f10e (diff) | |
can shoot now
Diffstat (limited to 'Bullet.tscn')
| -rw-r--r-- | Bullet.tscn | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Bullet.tscn b/Bullet.tscn new file mode 100644 index 0000000..d2f4c14 --- /dev/null +++ b/Bullet.tscn @@ -0,0 +1,19 @@ +[gd_scene load_steps=4 format=2] + +[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 + +[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 ) |
