bug
This commit is contained in:
parent
6809a3733a
commit
1f44bce864
14 changed files with 245 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://je8ntnqgk0p6"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://je8ntnqgk0p6"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dgrxej0tqnnfd" path="res://objects/bullet_types/test_bullet.gd" id="1_nd7f1"]
|
||||
[ext_resource type="Texture2D" uid="uid://du7gh3nk66mpo" path="res://graphics/bullets/normal_bullet/bullet_1.png" id="2_gcdq1"]
|
||||
|
|
@ -46,6 +46,9 @@ animations = [{
|
|||
"speed": 20.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ic0v5"]
|
||||
size = Vector2(8, 8)
|
||||
|
||||
[node name="TestBullet" type="Node2D"]
|
||||
script = ExtResource("1_nd7f1")
|
||||
|
||||
|
|
@ -63,4 +66,11 @@ frame_progress = 0.21053335
|
|||
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
|
||||
rect = Rect2(-4, -4, 8, 8)
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
collision_layer = 8
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
shape = SubResource("RectangleShape2D_ic0v5")
|
||||
|
||||
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="queue_free"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue