204 lines
5.5 KiB
Plaintext
204 lines
5.5 KiB
Plaintext
[gd_scene load_steps=28 format=3 uid="uid://go4yc8hfo1gq"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/CharacterBody2D.gd" id="1_x87yo"]
|
|
[ext_resource type="Texture2D" uid="uid://bqj4phkget2pp" path="res://graphics/Player Idle 48x48.png" id="2_c7awu"]
|
|
[ext_resource type="Texture2D" uid="uid://bnvk6gm188vsv" path="res://graphics/player jump 48x48.png" id="3_h6vre"]
|
|
[ext_resource type="Texture2D" uid="uid://bag8xvlev6yxg" path="res://graphics/player run 48x48.png" id="3_w6p3w"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_aeg01"]
|
|
atlas = ExtResource("2_c7awu")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1uaof"]
|
|
atlas = ExtResource("2_c7awu")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gt6ba"]
|
|
atlas = ExtResource("2_c7awu")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tay2c"]
|
|
atlas = ExtResource("2_c7awu")
|
|
region = Rect2(144, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1ag8q"]
|
|
atlas = ExtResource("2_c7awu")
|
|
region = Rect2(192, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hjiy4"]
|
|
atlas = ExtResource("2_c7awu")
|
|
region = Rect2(240, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_82onf"]
|
|
atlas = ExtResource("2_c7awu")
|
|
region = Rect2(288, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_yqp8u"]
|
|
atlas = ExtResource("2_c7awu")
|
|
region = Rect2(336, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_m6d3n"]
|
|
atlas = ExtResource("2_c7awu")
|
|
region = Rect2(384, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ax7e1"]
|
|
atlas = ExtResource("2_c7awu")
|
|
region = Rect2(432, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qrer8"]
|
|
atlas = ExtResource("3_h6vre")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wpiaq"]
|
|
atlas = ExtResource("3_h6vre")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kc70w"]
|
|
atlas = ExtResource("3_h6vre")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_i4hpn"]
|
|
atlas = ExtResource("3_w6p3w")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_sri3h"]
|
|
atlas = ExtResource("3_w6p3w")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_igbwk"]
|
|
atlas = ExtResource("3_w6p3w")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_t7p31"]
|
|
atlas = ExtResource("3_w6p3w")
|
|
region = Rect2(144, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ovti0"]
|
|
atlas = ExtResource("3_w6p3w")
|
|
region = Rect2(192, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2vy0d"]
|
|
atlas = ExtResource("3_w6p3w")
|
|
region = Rect2(240, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_klr2a"]
|
|
atlas = ExtResource("3_w6p3w")
|
|
region = Rect2(288, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ax6e1"]
|
|
atlas = ExtResource("3_w6p3w")
|
|
region = Rect2(336, 0, 48, 48)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_8idir"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_aeg01")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1uaof")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gt6ba")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_tay2c")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1ag8q")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hjiy4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_82onf")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_yqp8u")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_m6d3n")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ax7e1")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 15.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_qrer8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_wpiaq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_kc70w")
|
|
}],
|
|
"loop": false,
|
|
"name": &"jump",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_i4hpn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_sri3h")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_igbwk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_t7p31")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ovti0")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2vy0d")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_klr2a")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ax6e1")
|
|
}],
|
|
"loop": true,
|
|
"name": &"run",
|
|
"speed": 15.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ubfw4"]
|
|
radius = 12.0
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D"]
|
|
position = Vector2(-1, 0)
|
|
script = ExtResource("1_x87yo")
|
|
JUMP_VELOCITY = -500.0
|
|
PUSH_FORCE = 200
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
texture_filter = 1
|
|
sprite_frames = SubResource("SpriteFrames_8idir")
|
|
animation = &"idle"
|
|
autoplay = "idle"
|
|
frame_progress = 0.758732
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, 3)
|
|
shape = SubResource("CircleShape2D_ubfw4")
|
|
|
|
[node name="RightRay" type="RayCast2D" parent="."]
|
|
target_position = Vector2(25, 0)
|
|
|
|
[node name="LeftRay" type="RayCast2D" parent="."]
|
|
target_position = Vector2(-25, 0)
|
|
|
|
[node name="MarkerRight" type="Node2D" parent="."]
|
|
position = Vector2(16, -6)
|
|
|
|
[node name="MarkerLeft" type="Node2D" parent="."]
|
|
position = Vector2(-16, -6)
|