gmtk-2024/components/Pla724B.tmp

364 lines
9.5 KiB
Text

[gd_scene load_steps=45 format=3 uid="uid://cjiuycwqqxaxn"]
[ext_resource type="Script" path="res://scripts/player.gd" id="1_oy25y"]
[ext_resource type="Texture2D" uid="uid://cownabyc1p26u" path="res://assets/export/playerLayer 3.png" id="2_5c6qp"]
[sub_resource type="AtlasTexture" id="AtlasTexture_6hs0l"]
atlas = ExtResource("2_5c6qp")
region = Rect2(128, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_7slh2"]
atlas = ExtResource("2_5c6qp")
region = Rect2(160, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_io1xr"]
atlas = ExtResource("2_5c6qp")
region = Rect2(192, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_vh4hn"]
atlas = ExtResource("2_5c6qp")
region = Rect2(0, 320, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_wwamw"]
atlas = ExtResource("2_5c6qp")
region = Rect2(32, 320, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_nens7"]
atlas = ExtResource("2_5c6qp")
region = Rect2(64, 320, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_xnw82"]
atlas = ExtResource("2_5c6qp")
region = Rect2(96, 320, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_sv3rw"]
atlas = ExtResource("2_5c6qp")
region = Rect2(0, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_kldb3"]
atlas = ExtResource("2_5c6qp")
region = Rect2(128, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_daegq"]
atlas = ExtResource("2_5c6qp")
region = Rect2(160, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_c3qy7"]
atlas = ExtResource("2_5c6qp")
region = Rect2(192, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_5iowx"]
atlas = ExtResource("2_5c6qp")
region = Rect2(0, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_2f5nd"]
atlas = ExtResource("2_5c6qp")
region = Rect2(32, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_xuig4"]
atlas = ExtResource("2_5c6qp")
region = Rect2(64, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_uk8ao"]
atlas = ExtResource("2_5c6qp")
region = Rect2(96, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_6wkkf"]
atlas = ExtResource("2_5c6qp")
region = Rect2(32, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_mecdt"]
atlas = ExtResource("2_5c6qp")
region = Rect2(64, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_pvo15"]
atlas = ExtResource("2_5c6qp")
region = Rect2(96, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_fcvkv"]
atlas = ExtResource("2_5c6qp")
region = Rect2(128, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ejt0g"]
atlas = ExtResource("2_5c6qp")
region = Rect2(160, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_l4s6u"]
atlas = ExtResource("2_5c6qp")
region = Rect2(192, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_qw5vg"]
atlas = ExtResource("2_5c6qp")
region = Rect2(0, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_agdq2"]
atlas = ExtResource("2_5c6qp")
region = Rect2(32, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_1qa8b"]
atlas = ExtResource("2_5c6qp")
region = Rect2(64, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_a5wcc"]
atlas = ExtResource("2_5c6qp")
region = Rect2(96, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_5ra6k"]
atlas = ExtResource("2_5c6qp")
region = Rect2(128, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_l1grw"]
atlas = ExtResource("2_5c6qp")
region = Rect2(160, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_gae7w"]
atlas = ExtResource("2_5c6qp")
region = Rect2(192, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_p0xeb"]
atlas = ExtResource("2_5c6qp")
region = Rect2(0, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_tuo0l"]
atlas = ExtResource("2_5c6qp")
region = Rect2(32, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_iygu1"]
atlas = ExtResource("2_5c6qp")
region = Rect2(64, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_nlq48"]
atlas = ExtResource("2_5c6qp")
region = Rect2(96, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_581d4"]
atlas = ExtResource("2_5c6qp")
region = Rect2(128, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_depii"]
atlas = ExtResource("2_5c6qp")
region = Rect2(160, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_nsu0f"]
atlas = ExtResource("2_5c6qp")
region = Rect2(192, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_kdf7b"]
atlas = ExtResource("2_5c6qp")
region = Rect2(0, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_dvo1k"]
atlas = ExtResource("2_5c6qp")
region = Rect2(32, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_nuos6"]
atlas = ExtResource("2_5c6qp")
region = Rect2(64, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_fgj7i"]
atlas = ExtResource("2_5c6qp")
region = Rect2(96, 192, 32, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_o2lgd"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_6hs0l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7slh2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_io1xr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vh4hn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wwamw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nens7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xnw82")
}],
"loop": true,
"name": &" punch",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_sv3rw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kldb3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_daegq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_c3qy7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5iowx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2f5nd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xuig4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uk8ao")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_daegq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kldb3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sv3rw")
}],
"loop": true,
"name": &"Jump",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_sv3rw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6wkkf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mecdt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pvo15")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fcvkv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ejt0g")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_l4s6u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qw5vg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_agdq2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1qa8b")
}],
"loop": true,
"name": &"idle",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_a5wcc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5ra6k")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_l1grw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gae7w")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_p0xeb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tuo0l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iygu1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nlq48")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_581d4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_depii")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nsu0f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kdf7b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dvo1k")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nuos6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fgj7i")
}],
"loop": true,
"name": &"walk",
"speed": 10.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0on8q"]
size = Vector2(28, 64)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mst3b"]
size = Vector2(22, 41)
[node name="Player" type="CharacterBody2D"]
collision_mask = 3
script = ExtResource("1_oy25y")
SPEED = null
GRAVITY = null
JUMP_FORCE = null
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_o2lgd")
animation = &" punch"
frame_progress = 0.777568
metadata/_aseprite_wizard_config_ = {
"layer": "Layer 3",
"o_ex_p": "",
"o_folder": "res://assets/export",
"o_name": "player",
"only_visible": false,
"slice": "",
"source": "res://assets/PlayerCharacter.aseprite"
}
metadata/_aseprite_wizard_source_file_hash_ = "dd5426320f333c1fca2ec67ca43f9db7"
metadata/_aseprite_wizard_interface_config_ = {
"layer_section": true,
"output_section": true
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(2, 0)
shape = SubResource("RectangleShape2D_0on8q")
debug_color = Color(1, 0.254902, 0.415686, 0.105882)
[node name="AttackTimer" type="Timer" parent="."]
editor_description = "
"
wait_time = 0.2
one_shot = true
[node name="PunchHitbox" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="PunchHitbox"]
position = Vector2(15, -4.5)
shape = SubResource("RectangleShape2D_mst3b")
debug_color = Color(2.11775e-06, 0.631094, 0.465774, 0.42)