mirror of
https://github.com/RYGhub/the-cold-night.git
synced 2024-11-25 22:24:17 +00:00
✨ Create scene for ArrowAlternative
This commit is contained in:
parent
9aefbee9da
commit
1f04c83171
1 changed files with 18 additions and 0 deletions
18
src/entities/bullets/ArrowAlternative.tscn
Normal file
18
src/entities/bullets/ArrowAlternative.tscn
Normal file
|
@ -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
|
Loading…
Reference in a new issue