gmtk-2024/components/Player.tscn

843 lines
21 KiB
Text
Raw Permalink Normal View History

[gd_scene load_steps=88 format=3 uid="uid://cjiuycwqqxaxn"]
2024-08-17 14:22:33 +00:00
2024-08-17 15:49:40 +00:00
[ext_resource type="Script" path="res://scripts/player.gd" id="1_oy25y"]
[ext_resource type="Texture2D" uid="uid://d4mjdwhmho5vs" path="res://assets/export/player-Layer 5.png" id="2_g0lnn"]
[ext_resource type="AudioStream" uid="uid://cir5d1qi0hcev" path="res://assets/PlayerHurt.wav" id="3_ggoam"]
[ext_resource type="Texture2D" uid="uid://cv731yjx5v71a" path="res://assets/export/punch-.png" id="3_jp05m"]
[ext_resource type="AudioStream" uid="uid://du0f57xgcxuxf" path="res://assets/PlayerDeathSound.wav" id="4_8skcp"]
[ext_resource type="Texture2D" uid="uid://cliy3s4yykb3k" path="res://assets/export/health-.png" id="5_1x6di"]
2024-08-17 14:22:33 +00:00
[sub_resource type="AtlasTexture" id="AtlasTexture_l521r"]
atlas = ExtResource("2_g0lnn")
region = Rect2(0, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_qvttr"]
atlas = ExtResource("2_g0lnn")
region = Rect2(32, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ofguw"]
atlas = ExtResource("2_g0lnn")
region = Rect2(64, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_co8k7"]
atlas = ExtResource("2_g0lnn")
region = Rect2(96, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_41d2d"]
atlas = ExtResource("2_g0lnn")
region = Rect2(128, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hbosn"]
atlas = ExtResource("2_g0lnn")
region = Rect2(160, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0km57"]
atlas = ExtResource("2_g0lnn")
region = Rect2(192, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_51sll"]
atlas = ExtResource("2_g0lnn")
region = Rect2(224, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_px3nn"]
atlas = ExtResource("2_g0lnn")
region = Rect2(128, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ripko"]
atlas = ExtResource("2_g0lnn")
region = Rect2(32, 320, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_561ig"]
atlas = ExtResource("2_g0lnn")
region = Rect2(64, 320, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_7js0p"]
atlas = ExtResource("2_g0lnn")
region = Rect2(160, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_wjcje"]
atlas = ExtResource("2_g0lnn")
region = Rect2(192, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_q2cd0"]
atlas = ExtResource("2_g0lnn")
region = Rect2(224, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_htmbl"]
atlas = ExtResource("2_g0lnn")
region = Rect2(0, 320, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_rnxuc"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(64, 64, 32, 64)
2024-08-17 14:22:33 +00:00
[sub_resource type="AtlasTexture" id="AtlasTexture_wo1m8"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(64, 448, 32, 64)
2024-08-17 14:22:33 +00:00
[sub_resource type="AtlasTexture" id="AtlasTexture_fk6te"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(96, 448, 32, 64)
2024-08-17 14:22:33 +00:00
[sub_resource type="AtlasTexture" id="AtlasTexture_fbjir"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(128, 448, 32, 64)
2024-08-17 14:22:33 +00:00
[sub_resource type="AtlasTexture" id="AtlasTexture_3ihru"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(160, 448, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4jlds"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(192, 448, 32, 64)
2024-08-17 14:22:33 +00:00
[sub_resource type="AtlasTexture" id="AtlasTexture_81wn7"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(0, 384, 32, 64)
2024-08-17 14:22:33 +00:00
[sub_resource type="AtlasTexture" id="AtlasTexture_ufuyf"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(32, 384, 32, 64)
2024-08-17 14:22:33 +00:00
[sub_resource type="AtlasTexture" id="AtlasTexture_mf2dl"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(64, 384, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ke4ob"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(96, 384, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_yt7ej"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(128, 384, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_8ejvg"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(160, 384, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_m3wjx"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(192, 384, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_drf5o"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(224, 384, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_jpfep"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(0, 448, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_bwlrc"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(32, 448, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_2txm3"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(96, 320, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_uaysy"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(128, 320, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_o7mn6"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(160, 320, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_q0v0p"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(192, 320, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_sv0e8"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(224, 320, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_mbcqm"]
atlas = ExtResource("2_g0lnn")
region = Rect2(32, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_m8ku5"]
atlas = ExtResource("2_g0lnn")
region = Rect2(64, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_mdsdu"]
atlas = ExtResource("2_g0lnn")
region = Rect2(96, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_24k44"]
atlas = ExtResource("2_g0lnn")
region = Rect2(128, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_idj6d"]
atlas = ExtResource("2_g0lnn")
region = Rect2(160, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_gcw5r"]
atlas = ExtResource("2_g0lnn")
region = Rect2(192, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cpkux"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(224, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ht6wj"]
atlas = ExtResource("2_g0lnn")
region = Rect2(0, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_vlyrt"]
atlas = ExtResource("2_g0lnn")
region = Rect2(32, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_18fxb"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(0, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_6uboo"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(32, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_p16r1"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(64, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_aewy4"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(96, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3q0vi"]
atlas = ExtResource("2_g0lnn")
region = Rect2(96, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_7te6v"]
atlas = ExtResource("2_g0lnn")
2024-08-17 14:22:33 +00:00
region = Rect2(128, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_tfxjn"]
atlas = ExtResource("2_g0lnn")
region = Rect2(160, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_rjqbd"]
atlas = ExtResource("2_g0lnn")
region = Rect2(192, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_dcng7"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(224, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ma1kj"]
atlas = ExtResource("2_g0lnn")
2024-08-17 14:22:33 +00:00
region = Rect2(0, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4mnk0"]
atlas = ExtResource("2_g0lnn")
2024-08-17 14:22:33 +00:00
region = Rect2(32, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_uxup4"]
atlas = ExtResource("2_g0lnn")
2024-08-17 14:22:33 +00:00
region = Rect2(64, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_2c0ng"]
atlas = ExtResource("2_g0lnn")
2024-08-17 14:22:33 +00:00
region = Rect2(96, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_72rar"]
atlas = ExtResource("2_g0lnn")
2024-08-17 14:22:33 +00:00
region = Rect2(128, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_be8t0"]
atlas = ExtResource("2_g0lnn")
region = Rect2(160, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_qypdu"]
atlas = ExtResource("2_g0lnn")
region = Rect2(192, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hay5m"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(224, 128, 32, 64)
2024-08-17 14:22:33 +00:00
[sub_resource type="AtlasTexture" id="AtlasTexture_3722o"]
atlas = ExtResource("2_g0lnn")
2024-08-17 21:39:51 +00:00
region = Rect2(0, 192, 32, 64)
2024-08-17 14:22:33 +00:00
[sub_resource type="SpriteFrames" id="SpriteFrames_6noqu"]
2024-08-17 14:22:33 +00:00
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_l521r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qvttr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ofguw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_co8k7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_41d2d")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hbosn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0km57")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_51sll")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ofguw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qvttr")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_l521r")
}],
"loop": true,
"name": &"Jump",
"speed": 10.0
2024-08-17 21:39:51 +00:00
}, {
"frames": [{
2024-08-17 21:39:51 +00:00
"duration": 1.0,
"texture": SubResource("AtlasTexture_px3nn")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ripko")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_561ig")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ripko")
}],
"loop": true,
"name": &"Left",
"speed": 10.0
2024-08-17 14:22:33 +00:00
}, {
"frames": [{
2024-08-17 14:22:33 +00:00
"duration": 1.0,
"texture": SubResource("AtlasTexture_px3nn")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7js0p")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wjcje")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q2cd0")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_htmbl")
2024-08-17 21:39:51 +00:00
}],
"loop": true,
"name": &"Right",
2024-08-17 21:39:51 +00:00
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_rnxuc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wo1m8")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fk6te")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fbjir")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3ihru")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fbjir")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4jlds")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rnxuc")
2024-08-17 14:22:33 +00:00
}],
"loop": true,
"name": &"air kick",
2024-08-17 14:22:33 +00:00
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_l521r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_81wn7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ufuyf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mf2dl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ke4ob")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yt7ej")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8ejvg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m3wjx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_drf5o")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jpfep")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwlrc")
2024-08-17 21:39:51 +00:00
}],
"loop": true,
"name": &"death",
2024-08-17 21:39:51 +00:00
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_2txm3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uaysy")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_o7mn6")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q0v0p")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sv0e8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q0v0p")
2024-08-17 21:39:51 +00:00
}],
"loop": true,
"name": &"hurt",
2024-08-17 21:39:51 +00:00
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_l521r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mbcqm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m8ku5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mdsdu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_24k44")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_idj6d")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gcw5r")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cpkux")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ht6wj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vlyrt")
2024-08-17 21:39:51 +00:00
}],
"loop": true,
"name": &"idle",
2024-08-17 21:39:51 +00:00
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_l521r")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qvttr")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ofguw")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_41d2d")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hbosn")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_18fxb")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6uboo")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_p16r1")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_p16r1")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_aewy4")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ofguw")
2024-08-17 14:22:33 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qvttr")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_l521r")
2024-08-17 21:39:51 +00:00
}],
"loop": true,
"name": &"slam",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_rnxuc")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3q0vi")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7te6v")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tfxjn")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rjqbd")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dcng7")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ma1kj")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4mnk0")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uxup4")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2c0ng")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_72rar")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_be8t0")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qypdu")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hay5m")
2024-08-17 21:39:51 +00:00
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3722o")
2024-08-17 14:22:33 +00:00
}],
"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(27, 41)
[sub_resource type="AtlasTexture" id="AtlasTexture_1n7yn"]
atlas = ExtResource("3_jp05m")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_dtbdr"]
atlas = ExtResource("3_jp05m")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_dhtio"]
atlas = ExtResource("3_jp05m")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_t4yk0"]
atlas = ExtResource("3_jp05m")
region = Rect2(0, 32, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_1emd7"]
atlas = ExtResource("3_jp05m")
region = Rect2(32, 32, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ccqcb"]
atlas = ExtResource("3_jp05m")
region = Rect2(64, 32, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_g0kbm"]
atlas = ExtResource("3_jp05m")
region = Rect2(0, 64, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_sbboq"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_1n7yn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dtbdr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dhtio")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t4yk0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1emd7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ccqcb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g0kbm")
}],
"loop": true,
"name": &"default",
"speed": 10.0
}]
[sub_resource type="AtlasTexture" id="AtlasTexture_5bnwc"]
atlas = ExtResource("5_1x6di")
region = Rect2(128, 16, 64, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_og4rp"]
atlas = ExtResource("5_1x6di")
region = Rect2(0, 0, 64, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_03d4u"]
atlas = ExtResource("5_1x6di")
region = Rect2(64, 16, 64, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_sox5s"]
atlas = ExtResource("5_1x6di")
region = Rect2(0, 16, 64, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_o1ukw"]
atlas = ExtResource("5_1x6di")
region = Rect2(128, 0, 64, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_5qc6y"]
atlas = ExtResource("5_1x6di")
region = Rect2(64, 0, 64, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_tbw5i"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_5bnwc")
}],
"loop": true,
"name": &"0",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_og4rp")
}],
"loop": true,
"name": &"100",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_03d4u")
}],
"loop": true,
"name": &"20",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_sox5s")
}],
"loop": true,
"name": &"40",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_o1ukw")
}],
"loop": true,
"name": &"60",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_5qc6y")
}],
"loop": true,
"name": &"80",
"speed": 10.0
}]
2024-08-17 14:22:33 +00:00
[node name="Player" type="CharacterBody2D"]
collision_mask = 3
2024-08-17 14:22:33 +00:00
script = ExtResource("1_oy25y")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_6noqu")
animation = &"death"
2024-08-17 14:22:33 +00:00
metadata/_aseprite_wizard_config_ = {
2024-08-17 21:39:51 +00:00
"layer": "Layer 5",
2024-08-17 14:22:33 +00:00
"o_ex_p": "",
"o_folder": "res://assets/export",
2024-08-17 21:39:51 +00:00
"o_name": "player-",
"only_visible": false,
2024-08-17 14:22:33 +00:00
"slice": "",
"source": "res://assets/PlayerCharacter.aseprite"
}
metadata/_aseprite_wizard_interface_config_ = {
2024-08-17 14:26:11 +00:00
"layer_section": true,
2024-08-17 21:39:51 +00:00
"output_section": true,
"slice_section": false
2024-08-17 14:22:33 +00:00
}
metadata/_aseprite_wizard_source_file_hash_ = "9b87e116b10fe7a61dc017b05e385632"
2024-08-17 14:22:33 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(2, 0)
shape = SubResource("RectangleShape2D_0on8q")
debug_color = Color(1, 0.254902, 0.415686, 0.105882)
2024-08-17 21:39:51 +00:00
[node name="PunchHitbox" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="PunchHitbox"]
position = Vector2(29, -3)
shape = SubResource("RectangleShape2D_mst3b")
debug_color = Color(2.11775e-06, 0.631094, 0.465774, 0.42)
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="PunchHitbox"]
texture_filter = 1
position = Vector2(26, -6)
sprite_frames = SubResource("SpriteFrames_sbboq")
metadata/_aseprite_wizard_config_ = {
"layer": "",
"o_ex_p": "",
"o_folder": "res://assets/export",
"o_name": "punch-",
"only_visible": true,
"slice": "",
"source": "res://assets/PunchVFX.aseprite"
}
metadata/_aseprite_wizard_interface_config_ = {
"output_section": true
}
metadata/_aseprite_wizard_source_file_hash_ = "4c71a20217ed605bc54873905f5606e3"
[node name="AttackTimer" type="Timer" parent="."]
editor_description = "
"
wait_time = 0.5
one_shot = true
2024-08-17 21:39:51 +00:00
[node name="DeathTimer" type="Timer" parent="."]
wait_time = 2.7
one_shot = true
[node name="HurtTimer" type="Timer" parent="."]
wait_time = 0.6
2024-08-17 21:39:51 +00:00
one_shot = true
[node name="PlayerHurtSfx" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("3_ggoam")
[node name="PlayerDeathSfx" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("4_8skcp")
volume_db = 2.0
[node name="HealthBar" type="AnimatedSprite2D" parent="."]
texture_filter = 1
position = Vector2(0, -41)
sprite_frames = SubResource("SpriteFrames_tbw5i")
animation = &"100"
metadata/_aseprite_wizard_config_ = {
"layer": "",
"o_ex_p": "",
"o_folder": "res://assets/export",
"o_name": "health-",
"only_visible": true,
"slice": "",
"source": "res://assets/HealthBorder.aseprite"
}
metadata/_aseprite_wizard_interface_config_ = {
"layer_section": false,
"output_section": true
}
metadata/_aseprite_wizard_source_file_hash_ = "72e00fdcd91dac701215afc35f081aa5"