one-dimensional vertical slice
This commit is contained in:
parent
548a23d0e9
commit
3607ca7e2e
42 changed files with 692 additions and 2 deletions
|
|
@ -1,8 +1,11 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://bgoqv662xuf1r"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bgoqv662xuf1r"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b84vrx30l3hei" path="res://objects/player/bullet.gd" id="1_4hrp6"]
|
||||
[ext_resource type="Texture2D" uid="uid://cm68ysi8ojc88" path="res://bullet.png" id="2_du4f6"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_du4f6"]
|
||||
size = Vector2(8, 10)
|
||||
|
||||
[node name="Bullet" type="Node2D"]
|
||||
script = ExtResource("1_4hrp6")
|
||||
speed = Vector2(0, 500)
|
||||
|
|
@ -10,3 +13,11 @@ speed = Vector2(0, 500)
|
|||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, -5)
|
||||
texture = ExtResource("2_du4f6")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
position = Vector2(0, -5)
|
||||
shape = SubResource("RectangleShape2D_du4f6")
|
||||
|
|
|
|||
|
|
@ -19,5 +19,6 @@ wait_time = 0.1
|
|||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("3_td01p")
|
||||
volume_db = -10.0
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue