xiandie/scene/ground/script/c01/s06_踢球男孩.tscn
2025-06-18 21:48:59 +08:00

36 lines
1.5 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://cpc5037mesjl7"]
[ext_resource type="Script" uid="uid://q7d8moiq8yqo" path="res://scene/ground/script/c01/s06_踢球男孩.gd" id="1_itbib"]
[ext_resource type="SpriteFrames" uid="uid://cc0ea1he2nfc2" path="res://asset/art/gif/c01_孤儿院长廊/c01_孤儿院长廊_frames.tres" id="2_wic0e"]
[ext_resource type="Texture2D" uid="uid://bmedw8l7ew067" path="res://asset/art/gif/c01_孤儿院长廊/男孩要踢的球.png" id="3_ofpb7"]
[ext_resource type="AudioStream" uid="uid://ds1vp1es76wyp" path="res://asset/audio/sfx/环境音/序章/02_孤儿院走廊_小孩踢球.wav" id="5_wjvcm"]
[ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="6_q65up"]
[node name="踢球男孩" type="Node2D"]
script = ExtResource("1_itbib")
[node name="男孩" type="AnimatedSprite2D" parent="."]
position = Vector2(392.08, 0)
sprite_frames = ExtResource("2_wic0e")
animation = &"男孩跑动-右"
frame_progress = 0.13856
[node name="Sfx2D" type="AudioStreamPlayer2D" parent="男孩"]
position = Vector2(-4.04385, 53)
stream = ExtResource("5_wjvcm")
pitch_scale = 0.85
autoplay = true
max_distance = 800.0
bus = &"game_sfx"
script = ExtResource("6_q65up")
file = ""
metadata/_custom_type_script = "uid://wapo47a1oddf"
[node name="球" type="Sprite2D" parent="."]
position = Vector2(408.02, 76)
rotation = 24.1375
texture = ExtResource("3_ofpb7")
offset = Vector2(-3.5, -76)
[connection signal="finished" from="男孩/Sfx2D" to="男孩/Sfx2D" method="play"]