210 lines
5.9 KiB
Plaintext
210 lines
5.9 KiB
Plaintext
[gd_scene format=3 uid="uid://d4nnj62h6fjcq"]
|
|
|
|
[ext_resource type="Script" uid="uid://f42eg5a0cckl" path="res://scripts/player_guy.gd" id="1_j5628"]
|
|
[ext_resource type="Texture2D" uid="uid://5py2wuhb4a4u" path="res://assets/graphics/player/player jump 48x48.png" id="2_86iwx"]
|
|
[ext_resource type="Texture2D" uid="uid://p72rbg7thsvi" path="res://assets/graphics/player/idle/Player Idle 48x48.png" id="2_qug0s"]
|
|
[ext_resource type="Texture2D" uid="uid://b74hvan7k63nk" path="res://assets/graphics/player/run/player run 48x48.png" id="3_gd05a"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_80nbo"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7uqae"]
|
|
atlas = ExtResource("2_86iwx")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gd05a"]
|
|
atlas = ExtResource("2_qug0s")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_86iwx"]
|
|
atlas = ExtResource("2_qug0s")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_318mt"]
|
|
atlas = ExtResource("2_qug0s")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_b8c3x"]
|
|
atlas = ExtResource("2_qug0s")
|
|
region = Rect2(144, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ogaei"]
|
|
atlas = ExtResource("2_qug0s")
|
|
region = Rect2(192, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mjxbh"]
|
|
atlas = ExtResource("2_qug0s")
|
|
region = Rect2(240, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pykq2"]
|
|
atlas = ExtResource("2_qug0s")
|
|
region = Rect2(288, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7y57j"]
|
|
atlas = ExtResource("2_qug0s")
|
|
region = Rect2(336, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1hjxj"]
|
|
atlas = ExtResource("2_qug0s")
|
|
region = Rect2(384, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0npi7"]
|
|
atlas = ExtResource("2_qug0s")
|
|
region = Rect2(432, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_3v645"]
|
|
atlas = ExtResource("2_86iwx")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_h055f"]
|
|
atlas = ExtResource("2_86iwx")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mu2pl"]
|
|
atlas = ExtResource("3_gd05a")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_joior"]
|
|
atlas = ExtResource("3_gd05a")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kvipg"]
|
|
atlas = ExtResource("3_gd05a")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wpf5e"]
|
|
atlas = ExtResource("3_gd05a")
|
|
region = Rect2(144, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_yb3qs"]
|
|
atlas = ExtResource("3_gd05a")
|
|
region = Rect2(192, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_js44f"]
|
|
atlas = ExtResource("3_gd05a")
|
|
region = Rect2(240, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rs0n8"]
|
|
atlas = ExtResource("3_gd05a")
|
|
region = Rect2(288, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_022hi"]
|
|
atlas = ExtResource("3_gd05a")
|
|
region = Rect2(336, 0, 48, 48)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_mu2pl"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7uqae")
|
|
}],
|
|
"loop": false,
|
|
"name": &"fall",
|
|
"speed": 12.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gd05a")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_86iwx")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_318mt")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_b8c3x")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ogaei")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mjxbh")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pykq2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7y57j")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1hjxj")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0npi7")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 12.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_3v645")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_h055f")
|
|
}],
|
|
"loop": false,
|
|
"name": &"jump",
|
|
"speed": 12.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mu2pl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_joior")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_kvipg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_wpf5e")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_yb3qs")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_js44f")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rs0n8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_022hi")
|
|
}],
|
|
"loop": true,
|
|
"name": &"run",
|
|
"speed": 12.0
|
|
}]
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D" unique_id=44928680]
|
|
script = ExtResource("1_j5628")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=547069058]
|
|
shape = SubResource("CapsuleShape2D_80nbo")
|
|
|
|
[node name="RightCast" type="RayCast2D" parent="." unique_id=1862370013]
|
|
target_position = Vector2(34, 1)
|
|
|
|
[node name="LeftCast" type="RayCast2D" parent="." unique_id=2108646942]
|
|
target_position = Vector2(-39, 1)
|
|
|
|
[node name="rightspawn" type="Marker2D" parent="." unique_id=1690283250]
|
|
position = Vector2(18, -8)
|
|
|
|
[node name="leftspawn" type="Marker2D" parent="." unique_id=1655353827]
|
|
position = Vector2(-20, -8)
|
|
|
|
[node name="player graphic" type="AnimatedSprite2D" parent="." unique_id=1007399411]
|
|
texture_filter = 1
|
|
position = Vector2(2, -19)
|
|
scale = Vector2(2.1458333, 2.0416667)
|
|
sprite_frames = SubResource("SpriteFrames_mu2pl")
|
|
animation = &"idle"
|
|
autoplay = "idle"
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="." unique_id=157042894]
|
|
zoom = Vector2(0.5, 0.5)
|
|
|
|
[connection signal="animation_finished" from="player graphic" to="." method="_on_animation_finished"]
|