Files
2026-10-07 17:58:02 +08:00

336 lines
9.4 KiB
Plaintext

[gd_scene format=3 uid="uid://bm021k06oe0eb"]
[ext_resource type="Script" uid="uid://cu71l16bkptlq" path="res://scene/code/playar.gd" id="1_qk8q7"]
[ext_resource type="Texture2D" uid="uid://b46r7tijsblxy" path="res://Free/Main Characters/Ninja Frog/Hit (32x32).png" id="2_cux6y"]
[ext_resource type="PackedScene" uid="uid://wbm1jiogb3le" path="res://scene/entities/hp_block.tscn" id="2_fjyjg"]
[ext_resource type="Texture2D" uid="uid://415h2x3fj3ur" path="res://Free/Main Characters/Ninja Frog/Double Jump (32x32).png" id="2_hnt1n"]
[ext_resource type="Texture2D" uid="uid://dtbu7rg4sl3ga" path="res://Free/Main Characters/Ninja Frog/Idle (32x32).png" id="3_e6voa"]
[ext_resource type="Texture2D" uid="uid://gev3igv7s478" path="res://Free/Main Characters/Ninja Frog/Jump (32x32).png" id="4_e6voa"]
[ext_resource type="Texture2D" uid="uid://bi21p838m4ux0" path="res://Free/Main Characters/Ninja Frog/Run (32x32).png" id="4_hnt1n"]
[sub_resource type="AtlasTexture" id="AtlasTexture_hdcab"]
atlas = ExtResource("2_hnt1n")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_8y8ay"]
atlas = ExtResource("2_hnt1n")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_b1321"]
atlas = ExtResource("2_hnt1n")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_7adbh"]
atlas = ExtResource("2_hnt1n")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_pme16"]
atlas = ExtResource("2_hnt1n")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_u6d5g"]
atlas = ExtResource("2_hnt1n")
region = Rect2(160, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_lhjbe"]
atlas = ExtResource("2_cux6y")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_2c3kl"]
atlas = ExtResource("2_cux6y")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_vq2ro"]
atlas = ExtResource("2_cux6y")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_5f7ca"]
atlas = ExtResource("2_cux6y")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_l3bgt"]
atlas = ExtResource("2_cux6y")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_3c8dl"]
atlas = ExtResource("2_cux6y")
region = Rect2(160, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_bawoj"]
atlas = ExtResource("2_cux6y")
region = Rect2(192, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_bgo24"]
atlas = ExtResource("3_e6voa")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_cux6y"]
atlas = ExtResource("3_e6voa")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_e6voa"]
atlas = ExtResource("3_e6voa")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_hnt1n"]
atlas = ExtResource("3_e6voa")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_fjyjg"]
atlas = ExtResource("3_e6voa")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_bafpg"]
atlas = ExtResource("3_e6voa")
region = Rect2(160, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_rdotk"]
atlas = ExtResource("3_e6voa")
region = Rect2(192, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ogisu"]
atlas = ExtResource("3_e6voa")
region = Rect2(224, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_tqnq5"]
atlas = ExtResource("3_e6voa")
region = Rect2(256, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_u0who"]
atlas = ExtResource("3_e6voa")
region = Rect2(288, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_avq1k"]
atlas = ExtResource("3_e6voa")
region = Rect2(320, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ixiuc"]
atlas = ExtResource("4_e6voa")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_hy4xp"]
atlas = ExtResource("4_hnt1n")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_is48x"]
atlas = ExtResource("4_hnt1n")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_g0w34"]
atlas = ExtResource("4_hnt1n")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ioo7t"]
atlas = ExtResource("4_hnt1n")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_crccg"]
atlas = ExtResource("4_hnt1n")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_1mbo5"]
atlas = ExtResource("4_hnt1n")
region = Rect2(160, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_jyff1"]
atlas = ExtResource("4_hnt1n")
region = Rect2(192, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_cofkn"]
atlas = ExtResource("4_hnt1n")
region = Rect2(224, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_5jhps"]
atlas = ExtResource("4_hnt1n")
region = Rect2(256, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_au4sx"]
atlas = ExtResource("4_hnt1n")
region = Rect2(288, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_8654n"]
atlas = ExtResource("4_hnt1n")
region = Rect2(320, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_3en3a"]
atlas = ExtResource("4_hnt1n")
region = Rect2(352, 0, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_njdnk"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_hdcab")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8y8ay")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_b1321")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7adbh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pme16")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u6d5g")
}],
"loop": 1,
"name": &"DOUBLE_JUMP",
"speed": 30.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_lhjbe")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2c3kl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vq2ro")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5f7ca")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_l3bgt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3c8dl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bawoj")
}],
"loop": 1,
"name": &"HIT",
"speed": 25.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_bgo24")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cux6y")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e6voa")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hnt1n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fjyjg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bafpg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rdotk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ogisu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tqnq5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u0who")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_avq1k")
}],
"loop": 2,
"name": &"IDLE",
"speed": 15.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ixiuc")
}],
"loop": 1,
"name": &"JUMP",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_hy4xp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_is48x")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g0w34")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ioo7t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_crccg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1mbo5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jyff1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cofkn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5jhps")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_au4sx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8654n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3en3a")
}],
"loop": 1,
"name": &"RUN",
"speed": 30.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b1ow3"]
size = Vector2(23, 24)
[node name="Playar" type="CharacterBody2D" unique_id=711703698]
collision_layer = 2
collision_mask = 15
script = ExtResource("1_qk8q7")
[node name="HP_Block3" parent="." unique_id=707532110 instance=ExtResource("2_fjyjg")]
position = Vector2(-249, -165)
[node name="HP_Block2" parent="." unique_id=1722397226 instance=ExtResource("2_fjyjg")]
position = Vector2(-276, -165)
[node name="HP_Block" parent="." unique_id=1710966811 instance=ExtResource("2_fjyjg")]
position = Vector2(-305, -165)
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1766822977]
position = Vector2(0, -3)
sprite_frames = SubResource("SpriteFrames_njdnk")
animation = &"DOUBLE_JUMP"
frame_progress = 0.29018685
[node name="Camera2D" type="Camera2D" parent="." unique_id=172930772]
zoom = Vector2(2, 2)
[node name="FIRE" type="Marker2D" parent="." unique_id=1683041340]
[node name="TimerFIRE" type="Timer" parent="." unique_id=1428078318]
wait_time = 0.7
one_shot = true
[node name="Timerinvincibility" type="Timer" parent="." unique_id=1733750391]
one_shot = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1579954367]
position = Vector2(-0.5, 1)
shape = SubResource("RectangleShape2D_b1ow3")