25 lines
849 B
Plaintext
25 lines
849 B
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://weapons/laser/laser.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://entities/powerups/powerup.gd" type="Script" id=2]
|
|
[ext_resource path="res://entities/powerups/laser/laser.png" type="Texture" id=3]
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
radius = 4.91787
|
|
|
|
[node name="powerup" type="KinematicBody2D"]
|
|
collision_layer = 8
|
|
collision_mask = 8
|
|
script = ExtResource( 2 )
|
|
weapon = ExtResource( 1 )
|
|
|
|
[node name="collision" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="texture" type="Sprite" parent="."]
|
|
position = Vector2( -0.0625, 0.75 )
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="visiblity_notifier" type="VisibilityNotifier2D" parent="."]
|
|
[connection signal="screen_exited" from="visiblity_notifier" to="." method="_on_visiblity_notifier_screen_exited"]
|