28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
[gd_scene load_steps=5 format=3]
|
|
|
|
[ext_resource type="Script" path="res://src/scene-scripts/tiles/audioplayer_tile.cs" id="1_6sf4e"]
|
|
[ext_resource type="Texture2D" uid="uid://ciidukjv5k6oa" path="res://assets/textures/debug/banana.png" id="1_7651j"]
|
|
[ext_resource type="AudioStream" uid="uid://s64cl4x57oae" path="res://assets/audios/sound_explode.wav" id="3_dnu2u"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_2d5dy"]
|
|
radius = 30.8058
|
|
|
|
[node name="first_debug_tile" type="StaticBody2D"]
|
|
script = ExtResource("1_6sf4e")
|
|
soundOn = false
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_7651j")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(-1, 4)
|
|
shape = SubResource("CircleShape2D_2d5dy")
|
|
|
|
[node name="audio_stream_player_2d" type="AudioStreamPlayer2D" parent="."]
|
|
stream = ExtResource("3_dnu2u")
|
|
autoplay = true
|
|
max_distance = 1500.0
|
|
attenuation = 2.0
|
|
|
|
[connection signal="finished" from="audio_stream_player_2d" to="." method="OnAudioFinished"]
|