Files
uni-romantik/scenes/characters/player.tscn

405 lines
10 KiB
Plaintext

[gd_scene format=3 uid="uid://cswpyt34lfdhm"]
[ext_resource type="Texture2D" uid="uid://r703aufphu7c" path="res://tilesets/characters/Adam_16x16.png" id="1_rp718"]
[ext_resource type="Script" uid="uid://jknm77cuss33" path="res://scripts/characters/player.gd" id="1_yewv4"]
[sub_resource type="AtlasTexture" id="AtlasTexture_yewv4"]
atlas = ExtResource("1_rp718")
region = Rect2(288, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_76oj4"]
atlas = ExtResource("1_rp718")
region = Rect2(304, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_dyp2m"]
atlas = ExtResource("1_rp718")
region = Rect2(320, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_atpat"]
atlas = ExtResource("1_rp718")
region = Rect2(336, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_kqtwu"]
atlas = ExtResource("1_rp718")
region = Rect2(352, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_6eyoc"]
atlas = ExtResource("1_rp718")
region = Rect2(368, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_eojnx"]
atlas = ExtResource("1_rp718")
region = Rect2(192, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_qgnko"]
atlas = ExtResource("1_rp718")
region = Rect2(208, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_7vyk4"]
atlas = ExtResource("1_rp718")
region = Rect2(224, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_2l4js"]
atlas = ExtResource("1_rp718")
region = Rect2(240, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_jk2m4"]
atlas = ExtResource("1_rp718")
region = Rect2(256, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_xhtjm"]
atlas = ExtResource("1_rp718")
region = Rect2(272, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_k4v7y"]
atlas = ExtResource("1_rp718")
region = Rect2(0, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_xrqxk"]
atlas = ExtResource("1_rp718")
region = Rect2(16, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_g66nw"]
atlas = ExtResource("1_rp718")
region = Rect2(32, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_rpnd8"]
atlas = ExtResource("1_rp718")
region = Rect2(48, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_d6tgn"]
atlas = ExtResource("1_rp718")
region = Rect2(64, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_3wg1y"]
atlas = ExtResource("1_rp718")
region = Rect2(80, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_kmyvj"]
atlas = ExtResource("1_rp718")
region = Rect2(96, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_a2luo"]
atlas = ExtResource("1_rp718")
region = Rect2(112, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_eir2k"]
atlas = ExtResource("1_rp718")
region = Rect2(128, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_inhyd"]
atlas = ExtResource("1_rp718")
region = Rect2(144, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_wqk1x"]
atlas = ExtResource("1_rp718")
region = Rect2(160, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_dm10o"]
atlas = ExtResource("1_rp718")
region = Rect2(176, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_o6auj"]
atlas = ExtResource("1_rp718")
region = Rect2(288, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_j8g38"]
atlas = ExtResource("1_rp718")
region = Rect2(304, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_tswxa"]
atlas = ExtResource("1_rp718")
region = Rect2(320, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_aqa0x"]
atlas = ExtResource("1_rp718")
region = Rect2(336, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_yhyq5"]
atlas = ExtResource("1_rp718")
region = Rect2(352, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_5jukt"]
atlas = ExtResource("1_rp718")
region = Rect2(368, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_vwwfy"]
atlas = ExtResource("1_rp718")
region = Rect2(192, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_dg40j"]
atlas = ExtResource("1_rp718")
region = Rect2(208, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_7xgtv"]
atlas = ExtResource("1_rp718")
region = Rect2(224, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_6rclf"]
atlas = ExtResource("1_rp718")
region = Rect2(240, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_s0anf"]
atlas = ExtResource("1_rp718")
region = Rect2(256, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_s1x7u"]
atlas = ExtResource("1_rp718")
region = Rect2(272, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_c3kfx"]
atlas = ExtResource("1_rp718")
region = Rect2(0, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_hdner"]
atlas = ExtResource("1_rp718")
region = Rect2(16, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_m38kj"]
atlas = ExtResource("1_rp718")
region = Rect2(32, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_v1y1o"]
atlas = ExtResource("1_rp718")
region = Rect2(48, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_hnvwh"]
atlas = ExtResource("1_rp718")
region = Rect2(64, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_rfou0"]
atlas = ExtResource("1_rp718")
region = Rect2(80, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_vkt2s"]
atlas = ExtResource("1_rp718")
region = Rect2(96, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_6ux5t"]
atlas = ExtResource("1_rp718")
region = Rect2(112, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_lvr6b"]
atlas = ExtResource("1_rp718")
region = Rect2(128, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_nktl3"]
atlas = ExtResource("1_rp718")
region = Rect2(144, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_yyjep"]
atlas = ExtResource("1_rp718")
region = Rect2(160, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_6aj6e"]
atlas = ExtResource("1_rp718")
region = Rect2(176, 64, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_o6auj"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_yewv4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_76oj4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dyp2m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_atpat")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kqtwu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6eyoc")
}],
"loop": true,
"name": &"idle_down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_eojnx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qgnko")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7vyk4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2l4js")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jk2m4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xhtjm")
}],
"loop": true,
"name": &"idle_left",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_k4v7y")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xrqxk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g66nw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rpnd8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_d6tgn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3wg1y")
}],
"loop": true,
"name": &"idle_right",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_kmyvj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_a2luo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_eir2k")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_inhyd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wqk1x")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dm10o")
}],
"loop": true,
"name": &"idle_up",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_o6auj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j8g38")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tswxa")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_aqa0x")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yhyq5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5jukt")
}],
"loop": true,
"name": &"walk_down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_vwwfy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dg40j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7xgtv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6rclf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_s0anf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_s1x7u")
}],
"loop": true,
"name": &"walk_left",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_c3kfx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hdner")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m38kj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_v1y1o")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hnvwh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rfou0")
}],
"loop": true,
"name": &"walk_right",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_vkt2s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6ux5t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lvr6b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nktl3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yyjep")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6aj6e")
}],
"loop": true,
"name": &"walk_up",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_j8g38"]
[node name="Area2D" type="Area2D" unique_id=656053535]
script = ExtResource("1_yewv4")
metadata/_edit_group_ = true
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1752506839]
sprite_frames = SubResource("SpriteFrames_o6auj")
animation = &"walk_down"
frame_progress = 0.18803427
offset = Vector2(0, -6)
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=677928771]
visible = false
shape = SubResource("RectangleShape2D_j8g38")
[node name="Camera2D" type="Camera2D" parent="." unique_id=493881910]
visible = false
position = Vector2(2, -4)
zoom = Vector2(6, 6)