62 lines
2.2 KiB
Plaintext
62 lines
2.2 KiB
Plaintext
|
[gd_scene load_steps=6 format=3 uid="uid://da4cuf2i3nwpj"]
|
||
|
|
||
|
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_ngo77"]
|
||
|
[ext_resource type="Script" uid="uid://cyd1xo106unfk" path="res://scene/ground/scene/c02/s12_animation.gd" id="2_7ah3n"]
|
||
|
[ext_resource type="Texture2D" uid="uid://bg60rv85nopgq" path="res://asset/art/scene/c02/s12_盒子猫/bg.jpg" id="3_72mc1"]
|
||
|
[ext_resource type="PackedScene" uid="uid://b50n0hvs4yh75" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.tscn" id="4_yv74g"]
|
||
|
[ext_resource type="SpriteFrames" uid="uid://b85gyfhk1mg6r" path="res://asset/art/gif/c02_盒子猫/frames.tres" id="5_ycgng"]
|
||
|
|
||
|
[node name="S12" type="Node2D"]
|
||
|
|
||
|
[node name="Ground" parent="." instance=ExtResource("1_ngo77")]
|
||
|
scene_name = "c02_s12"
|
||
|
player_y = 45
|
||
|
footstep_type = "crawling"
|
||
|
|
||
|
[node name="AnimationPlayer" parent="Ground" index="0"]
|
||
|
script = ExtResource("2_7ah3n")
|
||
|
oneshot_animation = ""
|
||
|
|
||
|
[node name="BGSprite2D" parent="Ground" index="2"]
|
||
|
scale = Vector2(0.27, 0.27)
|
||
|
texture = ExtResource("3_72mc1")
|
||
|
offset = Vector2(0, -550)
|
||
|
|
||
|
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
|
||
|
position = Vector2(306, 11)
|
||
|
|
||
|
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
|
||
|
position = Vector2(1225, 6)
|
||
|
target_scene = "c02_s08"
|
||
|
target_portal = "1"
|
||
|
status = "opened"
|
||
|
|
||
|
[node name="AutoplayAnimatedSprite" parent="Ground/DeployLayer" index="2" instance=ExtResource("4_yv74g")]
|
||
|
position = Vector2(132, 19)
|
||
|
scale = Vector2(0.1, 0.1)
|
||
|
sprite_frames = ExtResource("5_ycgng")
|
||
|
animation = &"猪头怪走路"
|
||
|
flip_h = true
|
||
|
autostart = false
|
||
|
action_configs = Array[Dictionary]([{
|
||
|
"animation_intro": &"猪头怪呼吸",
|
||
|
&"animation_next": "猪头怪走路"
|
||
|
}])
|
||
|
move_configs = Array[Dictionary]([{
|
||
|
"animation": &"猪头怪走路",
|
||
|
"velocity": Vector2(70, 0)
|
||
|
}])
|
||
|
|
||
|
[node name="MainPlayer" parent="Ground" index="5"]
|
||
|
position = Vector2(235, 113)
|
||
|
character = "盒子猫"
|
||
|
facing_direction = Vector2(1, 0)
|
||
|
|
||
|
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
|
||
|
position = Vector2(3584, -7)
|
||
|
|
||
|
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
|
||
|
points = PackedVector2Array(37, 150, 1270, 150)
|
||
|
|
||
|
[editable path="Ground"]
|