250 lines
6.9 KiB
Plaintext
250 lines
6.9 KiB
Plaintext
[gd_scene format=3 uid="uid://en40721f6qwj"]
|
|
|
|
[ext_resource type="Script" uid="uid://cq2vf132xjtli" path="res://Scripts/player.gd" id="1_v0iea"]
|
|
[ext_resource type="Texture2D" uid="uid://dr3u0hb58tj6x" path="res://Assets/Player/Idle/Player Idle 48x48.png" id="2_cvnsp"]
|
|
[ext_resource type="Texture2D" uid="uid://edtnvpru6i3b" path="res://Assets/Player/Charging/Player Punch 64x64.png" id="2_fkybt"]
|
|
[ext_resource type="Texture2D" uid="uid://cl4as81xv56wq" path="res://Assets/Player/Run/player run 48x48.png" id="3_6t5aa"]
|
|
[ext_resource type="Texture2D" uid="uid://itpuf1wcu10i" path="res://Assets/Player/Jump_Fall/player jump 48x48.png" id="3_vgqql"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ebmjs"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2ijsl"]
|
|
atlas = ExtResource("2_fkybt")
|
|
region = Rect2(128, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bi64h"]
|
|
atlas = ExtResource("3_vgqql")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6t5aa"]
|
|
atlas = ExtResource("2_cvnsp")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vgqql"]
|
|
atlas = ExtResource("2_cvnsp")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fkybt"]
|
|
atlas = ExtResource("2_cvnsp")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_x3wgy"]
|
|
atlas = ExtResource("2_cvnsp")
|
|
region = Rect2(144, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_3smsa"]
|
|
atlas = ExtResource("2_cvnsp")
|
|
region = Rect2(192, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8erm5"]
|
|
atlas = ExtResource("2_cvnsp")
|
|
region = Rect2(240, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_f1ek2"]
|
|
atlas = ExtResource("2_cvnsp")
|
|
region = Rect2(288, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tx1dd"]
|
|
atlas = ExtResource("2_cvnsp")
|
|
region = Rect2(336, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gymyn"]
|
|
atlas = ExtResource("2_cvnsp")
|
|
region = Rect2(384, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pu2lt"]
|
|
atlas = ExtResource("2_cvnsp")
|
|
region = Rect2(432, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_olqyp"]
|
|
atlas = ExtResource("3_vgqql")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wpjfl"]
|
|
atlas = ExtResource("3_vgqql")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ukyrk"]
|
|
atlas = ExtResource("3_6t5aa")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7dp3o"]
|
|
atlas = ExtResource("3_6t5aa")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_h4iuc"]
|
|
atlas = ExtResource("3_6t5aa")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fd4e3"]
|
|
atlas = ExtResource("3_6t5aa")
|
|
region = Rect2(144, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qqcod"]
|
|
atlas = ExtResource("3_6t5aa")
|
|
region = Rect2(192, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_igrcy"]
|
|
atlas = ExtResource("3_6t5aa")
|
|
region = Rect2(240, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fs7ks"]
|
|
atlas = ExtResource("3_6t5aa")
|
|
region = Rect2(288, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_l6n3p"]
|
|
atlas = ExtResource("3_6t5aa")
|
|
region = Rect2(336, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_p1odr"]
|
|
atlas = ExtResource("2_fkybt")
|
|
region = Rect2(192, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0gysh"]
|
|
atlas = ExtResource("2_fkybt")
|
|
region = Rect2(256, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vfarp"]
|
|
atlas = ExtResource("2_fkybt")
|
|
region = Rect2(320, 0, 64, 64)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ukyrk"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2ijsl")
|
|
}],
|
|
"loop": false,
|
|
"name": &"charging",
|
|
"speed": 12.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_bi64h")
|
|
}],
|
|
"loop": false,
|
|
"name": &"falling",
|
|
"speed": 12.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6t5aa")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vgqql")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fkybt")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_x3wgy")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_3smsa")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_8erm5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_f1ek2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_tx1dd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gymyn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pu2lt")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 12.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_olqyp")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_wpjfl")
|
|
}],
|
|
"loop": false,
|
|
"name": &"jumping",
|
|
"speed": 12.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ukyrk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7dp3o")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_h4iuc")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fd4e3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_qqcod")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_igrcy")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fs7ks")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_l6n3p")
|
|
}],
|
|
"loop": true,
|
|
"name": &"running",
|
|
"speed": 12.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_p1odr")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0gysh")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vfarp")
|
|
}],
|
|
"loop": false,
|
|
"name": &"shoving",
|
|
"speed": 12.0
|
|
}]
|
|
|
|
[node name="Player" type="CharacterBody2D" unique_id=478864706]
|
|
scale = Vector2(1.64, 1.64)
|
|
script = ExtResource("1_v0iea")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=842765438]
|
|
shape = SubResource("CircleShape2D_ebmjs")
|
|
debug_color = Color(0.6308279, 0.36922106, 0.95607406, 0.41960785)
|
|
|
|
[node name="RightCast" type="RayCast2D" parent="." unique_id=448970826]
|
|
target_position = Vector2(17.073172, 0)
|
|
|
|
[node name="LeftCast" type="RayCast2D" parent="." unique_id=1038607459]
|
|
target_position = Vector2(-17.073172, 0)
|
|
|
|
[node name="RightSpawn" type="Marker2D" parent="." unique_id=1358832037]
|
|
position = Vector2(11.585366, -8.536586)
|
|
|
|
[node name="LeftSpawn" type="Marker2D" parent="." unique_id=1880777693]
|
|
position = Vector2(-12.195123, -8.536585)
|
|
|
|
[node name="PlayerGraphic" type="AnimatedSprite2D" parent="." unique_id=411274624]
|
|
texture_filter = 1
|
|
position = Vector2(0, -6.0975614)
|
|
sprite_frames = SubResource("SpriteFrames_ukyrk")
|
|
animation = &"shoving"
|
|
autoplay = "idle"
|
|
frame = 2
|
|
frame_progress = 1.0
|
|
|
|
[connection signal="animation_finished" from="PlayerGraphic" to="." method="_on_animation_finished"]
|