207 lines
5.7 KiB
Plaintext
207 lines
5.7 KiB
Plaintext
[gd_scene load_steps=28 format=3 uid="uid://djgtbc1quqvwe"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/dudecontroller.gd" id="1_ay2gi"]
|
|
[ext_resource type="Texture2D" uid="uid://dvgh32yadcjcq" path="res://assets/graphics/player/idle/Player Idle 48x48.png" id="2_5mbmt"]
|
|
[ext_resource type="Texture2D" uid="uid://2mxlso64vnrk" path="res://assets/graphics/player/run/player run 48x48.png" id="3_2y1a6"]
|
|
[ext_resource type="Texture2D" uid="uid://cwiun1ntuu02d" path="res://assets/graphics/player/jump/player jump 48x48.png" id="3_5o14d"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_iice4"]
|
|
radius = 6.32456
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1yv5c"]
|
|
atlas = ExtResource("2_5mbmt")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tlaeb"]
|
|
atlas = ExtResource("2_5mbmt")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_20pqf"]
|
|
atlas = ExtResource("2_5mbmt")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2avsb"]
|
|
atlas = ExtResource("2_5mbmt")
|
|
region = Rect2(144, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_setfi"]
|
|
atlas = ExtResource("2_5mbmt")
|
|
region = Rect2(192, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2kldi"]
|
|
atlas = ExtResource("2_5mbmt")
|
|
region = Rect2(240, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fksgv"]
|
|
atlas = ExtResource("2_5mbmt")
|
|
region = Rect2(288, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_71xob"]
|
|
atlas = ExtResource("2_5mbmt")
|
|
region = Rect2(336, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mabyy"]
|
|
atlas = ExtResource("2_5mbmt")
|
|
region = Rect2(384, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1npam"]
|
|
atlas = ExtResource("2_5mbmt")
|
|
region = Rect2(432, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6celb"]
|
|
atlas = ExtResource("3_5o14d")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vfeof"]
|
|
atlas = ExtResource("3_5o14d")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_x5qk1"]
|
|
atlas = ExtResource("3_5o14d")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_aaf1m"]
|
|
atlas = ExtResource("3_2y1a6")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_yycch"]
|
|
atlas = ExtResource("3_2y1a6")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qesu5"]
|
|
atlas = ExtResource("3_2y1a6")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gminf"]
|
|
atlas = ExtResource("3_2y1a6")
|
|
region = Rect2(144, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_t50sr"]
|
|
atlas = ExtResource("3_2y1a6")
|
|
region = Rect2(192, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qmkn1"]
|
|
atlas = ExtResource("3_2y1a6")
|
|
region = Rect2(240, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_sgy1b"]
|
|
atlas = ExtResource("3_2y1a6")
|
|
region = Rect2(288, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nc8cu"]
|
|
atlas = ExtResource("3_2y1a6")
|
|
region = Rect2(336, 0, 48, 48)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ck70u"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1yv5c")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_tlaeb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_20pqf")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2avsb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_setfi")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2kldi")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fksgv")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_71xob")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mabyy")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1npam")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Idle",
|
|
"speed": 12.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6celb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vfeof")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_x5qk1")
|
|
}],
|
|
"loop": false,
|
|
"name": &"Jump",
|
|
"speed": 8.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_aaf1m")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_yycch")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_qesu5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gminf")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_t50sr")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_qmkn1")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_sgy1b")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_nc8cu")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Run",
|
|
"speed": 12.0
|
|
}]
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D" groups=["player"]]
|
|
script = ExtResource("1_ay2gi")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, 2)
|
|
scale = Vector2(0.937476, 2.2372)
|
|
shape = SubResource("CircleShape2D_iice4")
|
|
debug_color = Color(0.598404, 0.370441, 1, 0.42)
|
|
|
|
[node name="RightRay" type="RayCast2D" parent="."]
|
|
target_position = Vector2(15, 0)
|
|
|
|
[node name="LeftRay" type="RayCast2D" parent="."]
|
|
position = Vector2(1, 0)
|
|
target_position = Vector2(-16, 0)
|
|
|
|
[node name="RightTarget" type="Node2D" parent="."]
|
|
position = Vector2(6, -5)
|
|
|
|
[node name="LeftTarget" type="Node2D" parent="."]
|
|
position = Vector2(-6, -5)
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
texture_filter = 1
|
|
scale = Vector2(1.00239, 0.967018)
|
|
sprite_frames = SubResource("SpriteFrames_ck70u")
|
|
animation = &"Idle"
|
|
autoplay = "Idle"
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|