the-lost-memory/project/FairyShot.tscn

30 lines
1006 B
Plaintext
Raw Permalink Normal View History

2022-11-17 17:52:05 +00:00
[gd_scene load_steps=5 format=2]
[ext_resource path="res://sprites/fairyshot.png" type="Texture" id=1]
[ext_resource path="res://FairyShot.gd" type="Script" id=2]
[ext_resource path="res://sfx/fairyshot.wav" type="AudioStream" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 3, 2 )
[node name="FairyShot" type="Area2D"]
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
scale = Vector2( 0.4, 0.3 )
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 3 )
volume_db = 1.564
max_distance = 700.0
attenuation = 4.14106
[connection signal="body_entered" from="." to="." method="_on_FairyShot_body_entered"]
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]