Set up power up spawner to test weapon collection functions.
This commit is contained in:
parent
3ec8cb8095
commit
8fe05e0c70
8 changed files with 156 additions and 2 deletions
|
|
@ -128,7 +128,11 @@ shape = SubResource("RectangleShape2D_qlg0r")
|
|||
disabled = true
|
||||
debug_color = Color(1, 0.5058824, 0.21960784, 0.41960785)
|
||||
|
||||
[node name="HelpBox" type="CollisionShape2D" parent="." unique_id=938667427]
|
||||
[node name="HelpBoxArea" type="Area2D" parent="." unique_id=938667427]
|
||||
collision_layer = 2
|
||||
collision_mask = 1
|
||||
|
||||
[node name="HelpBoxShape" type="CollisionShape2D" parent="HelpBoxArea" unique_id=938667428]
|
||||
position = Vector2(0, 3)
|
||||
shape = SubResource("RectangleShape2D_tuyoq")
|
||||
debug_color = Color(0, 1, 0, 0.41960785)
|
||||
|
|
@ -174,4 +178,5 @@ script = ExtResource("12_effcomp")
|
|||
target_node = NodePath("../Ship")
|
||||
metadata/_custom_type_script = "uid://65d3hbrpm21x"
|
||||
|
||||
[connection signal="area_entered" from="HelpBoxArea" to="." method="_on_help_box_area_entered"]
|
||||
[connection signal="timeout" from="WeaponCooldown" to="." method="_on_weapon_cooldown_timeout"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue