gmtk-2024/Player.tscn

223 lines
5.9 KiB
Text
Raw Normal View History

2024-08-17 14:22:33 +00:00
[gd_scene load_steps=30 format=3 uid="uid://cjiuycwqqxaxn"]
[ext_resource type="Script" path="res://player.gd" id="1_oy25y"]
[ext_resource type="Texture2D" uid="uid://cxdjxd2sv21hu" path="res://Layer 3.png" id="2_u5vg1"]
[sub_resource type="AtlasTexture" id="AtlasTexture_8d47g"]
atlas = ExtResource("2_u5vg1")
region = Rect2(0, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_e4ysm"]
atlas = ExtResource("2_u5vg1")
region = Rect2(32, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4rhkl"]
atlas = ExtResource("2_u5vg1")
region = Rect2(64, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_arcxo"]
atlas = ExtResource("2_u5vg1")
region = Rect2(96, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_00jl2"]
atlas = ExtResource("2_u5vg1")
region = Rect2(128, 0, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0hb6a"]
atlas = ExtResource("2_u5vg1")
region = Rect2(0, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_yn35a"]
atlas = ExtResource("2_u5vg1")
region = Rect2(32, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_f27hx"]
atlas = ExtResource("2_u5vg1")
region = Rect2(64, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_si5lp"]
atlas = ExtResource("2_u5vg1")
region = Rect2(96, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_mmtke"]
atlas = ExtResource("2_u5vg1")
region = Rect2(128, 64, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_dkmnd"]
atlas = ExtResource("2_u5vg1")
region = Rect2(0, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cermf"]
atlas = ExtResource("2_u5vg1")
region = Rect2(32, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hdhbl"]
atlas = ExtResource("2_u5vg1")
region = Rect2(64, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_frlcl"]
atlas = ExtResource("2_u5vg1")
region = Rect2(96, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_rkycb"]
atlas = ExtResource("2_u5vg1")
region = Rect2(128, 128, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_kgrgd"]
atlas = ExtResource("2_u5vg1")
region = Rect2(0, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ulb1s"]
atlas = ExtResource("2_u5vg1")
region = Rect2(32, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cpo0y"]
atlas = ExtResource("2_u5vg1")
region = Rect2(64, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_51m40"]
atlas = ExtResource("2_u5vg1")
region = Rect2(96, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_aqja2"]
atlas = ExtResource("2_u5vg1")
region = Rect2(128, 192, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_m750d"]
atlas = ExtResource("2_u5vg1")
region = Rect2(0, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_psi6a"]
atlas = ExtResource("2_u5vg1")
region = Rect2(32, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0s74t"]
atlas = ExtResource("2_u5vg1")
region = Rect2(64, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_qjvpa"]
atlas = ExtResource("2_u5vg1")
region = Rect2(96, 256, 32, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_fveui"]
atlas = ExtResource("2_u5vg1")
region = Rect2(128, 256, 32, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_iat2j"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_8d47g")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e4ysm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4rhkl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_arcxo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_00jl2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0hb6a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yn35a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_f27hx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_si5lp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mmtke")
}],
"loop": true,
"name": &"idle",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_dkmnd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cermf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hdhbl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_frlcl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rkycb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kgrgd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ulb1s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cpo0y")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_51m40")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_aqja2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m750d")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_psi6a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0s74t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qjvpa")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fveui")
}],
"loop": true,
"name": &"walk",
"speed": 10.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0on8q"]
size = Vector2(28, 64)
[node name="Player" type="CharacterBody2D"]
script = ExtResource("1_oy25y")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_iat2j")
animation = &"walk"
frame_progress = 0.300851
metadata/_aseprite_wizard_config_ = {
"layer": "Layer 3",
"o_ex_p": "",
"o_folder": "",
"o_name": "",
"only_visible": false,
"slice": "",
"source": "res://assets/PlayerCharacter.aseprite"
}
metadata/_aseprite_wizard_source_file_hash_ = "c2f10613af41076ed14f7dd74dccbea5"
metadata/_aseprite_wizard_interface_config_ = {
"layer_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)