From 1f04c83171e6a299e907ae2efd7b9202bd72d003 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 3 Apr 2022 21:23:36 +0200 Subject: [PATCH] :sparkles: Create scene for `ArrowAlternative` --- src/entities/bullets/ArrowAlternative.tscn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/entities/bullets/ArrowAlternative.tscn diff --git a/src/entities/bullets/ArrowAlternative.tscn b/src/entities/bullets/ArrowAlternative.tscn new file mode 100644 index 0000000..8731764 --- /dev/null +++ b/src/entities/bullets/ArrowAlternative.tscn @@ -0,0 +1,18 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://src/entities/bullets/AbstractBullet.tscn" type="PackedScene" id=1] +[ext_resource path="res://src/entities/bullets/ArrowAlternative.png" type="Texture" id=2] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 6, 1.5 ) + +[node name="ArrowAlternative" instance=ExtResource( 1 )] + +[node name="Shape" type="CollisionShape2D" parent="." index="0"] +shape = SubResource( 1 ) + +[node name="Sprite" type="Sprite" parent="Shape" index="0"] +texture = ExtResource( 2 ) + +[node name="BulletMovement" parent="." index="1"] +movement_per_second = 400.0