220 lines
6.2 KiB
Plaintext
220 lines
6.2 KiB
Plaintext
[gd_scene format=3 uid="uid://taq4ktl06qk6"]
|
|
|
|
[ext_resource type="Script" uid="uid://ow65qtakttsq" path="res://scene/entities/PigGod.gd" id="1_56x3o"]
|
|
[ext_resource type="Texture2D" uid="uid://ca1paq162m6yq" path="res://Free/Main Characters/Pink Man/Idle (32x32).png" id="2_56x3o"]
|
|
[ext_resource type="Texture2D" uid="uid://bbs4wolb0an6u" path="res://Free/Main Characters/Pink Man/Run (32x32).png" id="3_gx5db"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_b1ow3"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gx5db"]
|
|
atlas = ExtResource("2_56x3o")
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lygtk"]
|
|
atlas = ExtResource("2_56x3o")
|
|
region = Rect2(32, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ec6gg"]
|
|
atlas = ExtResource("2_56x3o")
|
|
region = Rect2(64, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6tx6s"]
|
|
atlas = ExtResource("2_56x3o")
|
|
region = Rect2(96, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0x4pw"]
|
|
atlas = ExtResource("2_56x3o")
|
|
region = Rect2(128, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6y3v1"]
|
|
atlas = ExtResource("2_56x3o")
|
|
region = Rect2(160, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5doqt"]
|
|
atlas = ExtResource("2_56x3o")
|
|
region = Rect2(192, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_percs"]
|
|
atlas = ExtResource("2_56x3o")
|
|
region = Rect2(224, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vxqrd"]
|
|
atlas = ExtResource("2_56x3o")
|
|
region = Rect2(256, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_v4i02"]
|
|
atlas = ExtResource("2_56x3o")
|
|
region = Rect2(288, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vs7em"]
|
|
atlas = ExtResource("2_56x3o")
|
|
region = Rect2(320, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2i2p8"]
|
|
atlas = ExtResource("3_gx5db")
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ag6ac"]
|
|
atlas = ExtResource("3_gx5db")
|
|
region = Rect2(32, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_en81q"]
|
|
atlas = ExtResource("3_gx5db")
|
|
region = Rect2(64, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0qec0"]
|
|
atlas = ExtResource("3_gx5db")
|
|
region = Rect2(96, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vqx87"]
|
|
atlas = ExtResource("3_gx5db")
|
|
region = Rect2(128, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ldkb2"]
|
|
atlas = ExtResource("3_gx5db")
|
|
region = Rect2(160, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_q5chm"]
|
|
atlas = ExtResource("3_gx5db")
|
|
region = Rect2(192, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fkxmb"]
|
|
atlas = ExtResource("3_gx5db")
|
|
region = Rect2(224, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_q1v34"]
|
|
atlas = ExtResource("3_gx5db")
|
|
region = Rect2(256, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ut6hf"]
|
|
atlas = ExtResource("3_gx5db")
|
|
region = Rect2(288, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_618jx"]
|
|
atlas = ExtResource("3_gx5db")
|
|
region = Rect2(320, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vpu3w"]
|
|
atlas = ExtResource("3_gx5db")
|
|
region = Rect2(352, 0, 32, 32)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_b1ow3"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gx5db")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_lygtk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ec6gg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6tx6s")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0x4pw")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6y3v1")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_5doqt")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_percs")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vxqrd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_v4i02")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vs7em")
|
|
}],
|
|
"loop": 2,
|
|
"name": &"IDLE",
|
|
"speed": 15.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2i2p8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ag6ac")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_en81q")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0qec0")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vqx87")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ldkb2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_q5chm")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fkxmb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_q1v34")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ut6hf")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_618jx")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vpu3w")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"RUN",
|
|
"speed": 30.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rby76"]
|
|
size = Vector2(539, 68)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_rby76"]
|
|
radius = 16.03122
|
|
|
|
[node name="MIKU" type="CharacterBody2D" unique_id=1774362994]
|
|
script = ExtResource("1_56x3o")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=381051812]
|
|
shape = SubResource("CapsuleShape2D_b1ow3")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1682826054]
|
|
sprite_frames = SubResource("SpriteFrames_b1ow3")
|
|
animation = &"RUN"
|
|
frame_progress = 0.80045
|
|
|
|
[node name="timeJUMP" type="Timer" parent="." unique_id=2050945044]
|
|
wait_time = 4.0
|
|
one_shot = true
|
|
|
|
[node name="timerFIRE" type="Timer" parent="." unique_id=67956767]
|
|
|
|
[node name="jiance" type="Area2D" parent="." unique_id=2051708783]
|
|
collision_mask = 3
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="jiance" unique_id=739632181]
|
|
position = Vector2(0.5, 1)
|
|
shape = SubResource("RectangleShape2D_rby76")
|
|
|
|
[node name="damage" type="Area2D" parent="." unique_id=853052197]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="damage" unique_id=168345640]
|
|
shape = SubResource("CircleShape2D_rby76")
|
|
|
|
[connection signal="body_entered" from="jiance" to="." method="_on_jiance_body_entered"]
|
|
[connection signal="body_entered" from="damage" to="." method="_on_damage_body_entered"]
|