contra/scenes/power_up_container.tscn

25 lines
949 B
Plaintext
Raw Permalink Normal View History

2024-11-12 17:51:04 +00:00
[gd_scene load_steps=4 format=3 uid="uid://cg45aibxjyrpy"]
[ext_resource type="Script" path="res://Scripts/PowerUpContainer.gd" id="1_jveoh"]
[ext_resource type="Texture2D" uid="uid://bmo543wawjitd" path="res://Sprites/powerup.png" id="2_15ji1"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_gu67h"]
size = Vector2(18, 10)
[node name="PowerUpContainer" type="CharacterBody2D" groups=["powerupcontainer"]]
position = Vector2(295, 30)
collision_layer = 2
collision_mask = 2
script = ExtResource("1_jveoh")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_15ji1")
hframes = 10
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_gu67h")
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]