mirror of
https://github.com/MoonlitJolteon/crasher-sidescroller.git
synced 2025-11-01 13:10:21 +00:00
252 lines
6.9 KiB
Plaintext
252 lines
6.9 KiB
Plaintext
[gd_scene load_steps=37 format=3 uid="uid://4qv7ygwuks70"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ce5lrej8gpo3i" path="res://Art/Character/Idle/Idle-Sheet.png" id="1_caaw0"]
|
|
[ext_resource type="Script" path="res://Characters/player.gd" id="1_mhe8q"]
|
|
[ext_resource type="Texture2D" uid="uid://v0gldv0dn60i" path="res://Art/Character/Jumlp-All/Jump-All-Sheet.png" id="3_ev3y7"]
|
|
[ext_resource type="Texture2D" uid="uid://nsp2svj4hkeq" path="res://Art/Character/Jump-End/Jump-End-Sheet.png" id="4_g152q"]
|
|
[ext_resource type="Texture2D" uid="uid://u60b2nhdqhns" path="res://Art/Character/Jump-Start/Jump-Start-Sheet.png" id="5_ui06i"]
|
|
[ext_resource type="Texture2D" uid="uid://b0tk3jppsqjcl" path="res://Art/Character/Run/Run-Sheet.png" id="6_e0ril"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_btfh1"]
|
|
atlas = ExtResource("1_caaw0")
|
|
region = Rect2(0, 0, 64, 80)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rpfl6"]
|
|
atlas = ExtResource("1_caaw0")
|
|
region = Rect2(64, 0, 64, 80)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lk0kr"]
|
|
atlas = ExtResource("1_caaw0")
|
|
region = Rect2(128, 0, 64, 80)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_416rt"]
|
|
atlas = ExtResource("1_caaw0")
|
|
region = Rect2(192, 0, 64, 80)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7pp1r"]
|
|
atlas = ExtResource("4_g152q")
|
|
region = Rect2(0, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_sv0rn"]
|
|
atlas = ExtResource("4_g152q")
|
|
region = Rect2(64, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_naty2"]
|
|
atlas = ExtResource("4_g152q")
|
|
region = Rect2(128, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rtj8h"]
|
|
atlas = ExtResource("5_ui06i")
|
|
region = Rect2(0, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_goiod"]
|
|
atlas = ExtResource("5_ui06i")
|
|
region = Rect2(64, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_u4two"]
|
|
atlas = ExtResource("5_ui06i")
|
|
region = Rect2(128, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nd2k7"]
|
|
atlas = ExtResource("5_ui06i")
|
|
region = Rect2(192, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hsc5u"]
|
|
atlas = ExtResource("3_ev3y7")
|
|
region = Rect2(256, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1ufd4"]
|
|
atlas = ExtResource("3_ev3y7")
|
|
region = Rect2(320, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0fchy"]
|
|
atlas = ExtResource("3_ev3y7")
|
|
region = Rect2(384, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_of2e2"]
|
|
atlas = ExtResource("3_ev3y7")
|
|
region = Rect2(448, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6ar74"]
|
|
atlas = ExtResource("3_ev3y7")
|
|
region = Rect2(512, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_3fr5v"]
|
|
atlas = ExtResource("3_ev3y7")
|
|
region = Rect2(576, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_dh3qg"]
|
|
atlas = ExtResource("3_ev3y7")
|
|
region = Rect2(640, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lctin"]
|
|
atlas = ExtResource("3_ev3y7")
|
|
region = Rect2(704, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_a83ak"]
|
|
atlas = ExtResource("6_e0ril")
|
|
region = Rect2(0, 0, 80, 80)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0rhp5"]
|
|
atlas = ExtResource("6_e0ril")
|
|
region = Rect2(80, 0, 80, 80)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xs4ja"]
|
|
atlas = ExtResource("6_e0ril")
|
|
region = Rect2(160, 0, 80, 80)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_im2g8"]
|
|
atlas = ExtResource("6_e0ril")
|
|
region = Rect2(240, 0, 80, 80)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_if710"]
|
|
atlas = ExtResource("6_e0ril")
|
|
region = Rect2(320, 0, 80, 80)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_f5phe"]
|
|
atlas = ExtResource("6_e0ril")
|
|
region = Rect2(400, 0, 80, 80)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rgyyg"]
|
|
atlas = ExtResource("6_e0ril")
|
|
region = Rect2(480, 0, 80, 80)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jn4q8"]
|
|
atlas = ExtResource("6_e0ril")
|
|
region = Rect2(560, 0, 80, 80)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_k0v45"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_btfh1")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rpfl6")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_lk0kr")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_416rt")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7pp1r")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_sv0rn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_naty2")
|
|
}],
|
|
"loop": false,
|
|
"name": &"jump_end",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rtj8h")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_goiod")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_u4two")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_nd2k7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hsc5u")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1ufd4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0fchy")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_of2e2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6ar74")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_3fr5v")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_dh3qg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_lctin")
|
|
}],
|
|
"loop": false,
|
|
"name": &"jump_start",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_a83ak")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0rhp5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xs4ja")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_im2g8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_if710")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_f5phe")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rgyyg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_jn4q8")
|
|
}],
|
|
"loop": true,
|
|
"name": &"run",
|
|
"speed": 10.0
|
|
}]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_4mr7i"]
|
|
radius = 8.0
|
|
height = 44.0
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_av1l4"]
|
|
font_size = 10
|
|
|
|
[node name="Player" type="CharacterBody2D"]
|
|
script = ExtResource("1_mhe8q")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_k0v45")
|
|
animation = &"jump_end"
|
|
autoplay = "idle"
|
|
centered = false
|
|
offset = Vector2(-32, -40)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, 2)
|
|
shape = SubResource("CapsuleShape2D_4mr7i")
|
|
|
|
[node name="WeightLabel" type="Label" parent="."]
|
|
offset_left = -40.0
|
|
offset_top = -41.0
|
|
offset_right = 27.0
|
|
offset_bottom = -27.0
|
|
text = "Weight: "
|
|
label_settings = SubResource("LabelSettings_av1l4")
|
|
|
|
[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_finished"]
|