49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://dt4a45eiw3akt"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bp3iw2tgkoxy3" path="res://assets/ACG_Box2.png" id="2_t1nym"]
|
|
[ext_resource type="Script" uid="uid://n03euln3h3rf" path="res://scenes/end_box.gd" id="2_uuq2p"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1quqd"]
|
|
atlas = ExtResource("2_t1nym")
|
|
region = Rect2(0, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pk8r4"]
|
|
atlas = ExtResource("2_t1nym")
|
|
region = Rect2(64, 0, 64, 64)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_0nq55"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1quqd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pk8r4")
|
|
}],
|
|
"loop": false,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_o07hu"]
|
|
size = Vector2(445.309, 35.625)
|
|
|
|
[node name="box" type="Area2D"]
|
|
position = Vector2(1, 0)
|
|
scale = Vector2(0.5, 0.5)
|
|
script = ExtResource("2_uuq2p")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
texture_filter = 5
|
|
position = Vector2(-1.19209e-07, -70)
|
|
scale = Vector2(5.5, 5.5)
|
|
sprite_frames = SubResource("SpriteFrames_0nq55")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, -78)
|
|
scale = Vector2(0.5, 0.5)
|
|
shape = SubResource("RectangleShape2D_o07hu")
|
|
one_way_collision = true
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|