Track each individual disk and ensure they are loaded in order. Player can collect multiple disks in one run but must present them to the pharaoh in order.
199 lines
6.9 KiB
Plaintext
199 lines
6.9 KiB
Plaintext
[gd_scene format=3 uid="uid://pmnwck5v0ntm"]
|
|
|
|
[ext_resource type="Script" uid="uid://cojhnj15psd2x" path="res://player_2d.gd" id="1_sy00s"]
|
|
[ext_resource type="Shader" uid="uid://mmf86jusrkrr" path="res://shaders/warp_shader.gdshader" id="3_gt2ls"]
|
|
[ext_resource type="Texture2D" uid="uid://dpdxs6gjmexgh" path="res://art/background.png" id="3_p3026"]
|
|
[ext_resource type="Texture2D" uid="uid://biv3f67rqumak" path="res://art/level_start.png" id="4_nj6as"]
|
|
[ext_resource type="Script" uid="uid://3bqq3mfbby2c" path="res://warp_shader.gd" id="4_pmt5n"]
|
|
[ext_resource type="Texture2D" uid="uid://lk0f1qyswyxv" path="res://art/player/idle/frame1.png" id="5_6jyqn"]
|
|
[ext_resource type="Texture2D" uid="uid://lmje8plw76e1" path="res://art/player/idle/frame2.png" id="6_gt2ls"]
|
|
[ext_resource type="Texture2D" uid="uid://bfyd1tro3s0gl" path="res://art/player/crystal2.png" id="7_oy4pt"]
|
|
[ext_resource type="Texture2D" uid="uid://dh7a1knyqn5nd" path="res://art/player/running/frame3.png" id="7_pmt5n"]
|
|
[ext_resource type="Texture2D" uid="uid://yf13nw31k8ua" path="res://art/player/running/frame4.png" id="8_nj6as"]
|
|
[ext_resource type="Texture2D" uid="uid://du5i0tg6u1lal" path="res://art/player/crystal3.png" id="8_ukfft"]
|
|
[ext_resource type="Texture2D" uid="uid://bko8dvawpul3c" path="res://art/player/crystal4.png" id="9_ur4nw"]
|
|
[ext_resource type="Texture2D" uid="uid://ba4kjeulthw1g" path="res://art/hats/dunce1.png" id="10_5s8kx"]
|
|
[ext_resource type="Texture2D" uid="uid://cn31x2l44je2t" path="res://art/dash_glow.png" id="10_ur4nw"]
|
|
[ext_resource type="Texture2D" uid="uid://biscdhn8jh8ha" path="res://art/jump_glow.png" id="11_3lee2"]
|
|
[ext_resource type="Texture2D" uid="uid://cp1v5uhvbfws6" path="res://art/hats/dunce2.png" id="11_4apft"]
|
|
[ext_resource type="Texture2D" uid="uid://dgq8el2qldlui" path="res://art/player/crystal.png" id="12_4apft"]
|
|
[ext_resource type="AudioStream" uid="uid://bkiipooikacjj" path="res://sound/patience.wav" id="12_5s8kx"]
|
|
[ext_resource type="Texture2D" uid="uid://d1tj8sw2hiwgw" path="res://art/dash_particle.png" id="16_ur4nw"]
|
|
[ext_resource type="Texture2D" uid="uid://deacp021ytuew" path="res://art/jump_particle.png" id="18_fat58"]
|
|
[ext_resource type="AudioStream" uid="uid://b4dkj4gmvk7bg" path="res://sound/double_jump.wav" id="20_1741q"]
|
|
[ext_resource type="AudioStream" uid="uid://dc7bd22vwkf34" path="res://sound/death.wav" id="20_l50qk"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_pmt5n"]
|
|
shader = ExtResource("3_gt2ls")
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_nj6as"]
|
|
size = Vector2(1280, 720)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_fvyjh"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_6jyqn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_gt2ls")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_6jyqn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_gt2ls")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("7_pmt5n")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("8_nj6as")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"running",
|
|
"speed": 12.0
|
|
}]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_pmt5n"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("10_5s8kx")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"idle",
|
|
"speed": 6.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("11_4apft")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("10_5s8kx")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"running",
|
|
"speed": 6.0
|
|
}]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_5s8kx"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("12_4apft")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("7_oy4pt")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("8_ukfft")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("9_ur4nw")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fj7yv"]
|
|
size = Vector2(10, 16)
|
|
|
|
[node name="Player2D" type="CharacterBody2D" unique_id=889851478]
|
|
script = ExtResource("1_sy00s")
|
|
|
|
[node name="CanvasLayer2" type="CanvasLayer" parent="." unique_id=1854423107]
|
|
|
|
[node name="WarpShader" type="MeshInstance2D" parent="CanvasLayer2" unique_id=88397728]
|
|
material = SubResource("ShaderMaterial_pmt5n")
|
|
mesh = SubResource("QuadMesh_nj6as")
|
|
script = ExtResource("4_pmt5n")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="CanvasLayer2/WarpShader" unique_id=1651549733]
|
|
visible = false
|
|
texture = ExtResource("4_nj6as")
|
|
|
|
[node name="Parallax2D" type="Parallax2D" parent="." unique_id=270393374]
|
|
repeat_size = Vector2(1280, 720)
|
|
autoscroll = Vector2(5, 0)
|
|
follow_viewport = false
|
|
ignore_camera_scroll = true
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Parallax2D" unique_id=1267606565]
|
|
scale = Vector2(3, 3)
|
|
texture = ExtResource("3_p3026")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="." unique_id=962368438]
|
|
zoom = Vector2(1.75, 1.75)
|
|
process_callback = 0
|
|
position_smoothing_enabled = true
|
|
|
|
[node name="Sprite2D" type="AnimatedSprite2D" parent="." unique_id=693422376]
|
|
z_index = 1
|
|
texture_filter = 1
|
|
position = Vector2(0, 2)
|
|
sprite_frames = SubResource("SpriteFrames_fvyjh")
|
|
animation = &"idle"
|
|
autoplay = "idle"
|
|
frame_progress = 0.524591
|
|
|
|
[node name="HatSprite" type="AnimatedSprite2D" parent="Sprite2D" unique_id=1954184475]
|
|
visible = false
|
|
position = Vector2(0, -13)
|
|
scale = Vector2(0.9, 0.9)
|
|
sprite_frames = SubResource("SpriteFrames_pmt5n")
|
|
animation = &"running"
|
|
autoplay = "idle"
|
|
frame_progress = 0.8061519
|
|
|
|
[node name="Jetpack" type="AnimatedSprite2D" parent="." unique_id=657113514]
|
|
position = Vector2(0, 1)
|
|
sprite_frames = SubResource("SpriteFrames_5s8kx")
|
|
animation = &"idle"
|
|
autoplay = "idle"
|
|
|
|
[node name="DashIndicator" type="CPUParticles2D" parent="Jetpack" unique_id=1424397604]
|
|
position = Vector2(-11, -2)
|
|
texture = ExtResource("16_ur4nw")
|
|
lifetime = 0.1
|
|
gravity = Vector2(0, 0)
|
|
|
|
[node name="DashIndicatorGlow" type="PointLight2D" parent="Jetpack/DashIndicator" unique_id=1334369973]
|
|
position = Vector2(-1, 0)
|
|
energy = 10.0
|
|
texture = ExtResource("10_ur4nw")
|
|
|
|
[node name="JumpIndicator" type="CPUParticles2D" parent="Jetpack" unique_id=1519478958]
|
|
position = Vector2(13, -2)
|
|
texture = ExtResource("18_fat58")
|
|
lifetime = 0.1
|
|
gravity = Vector2(0, 0)
|
|
|
|
[node name="JumpIndicatorGlow" type="PointLight2D" parent="Jetpack/JumpIndicator" unique_id=920409859]
|
|
position = Vector2(-1, 0)
|
|
energy = 10.0
|
|
texture = ExtResource("11_3lee2")
|
|
|
|
[node name="JumpSound" type="AudioStreamPlayer2D" parent="Jetpack" unique_id=2009313321]
|
|
|
|
[node name="DashSound" type="AudioStreamPlayer2D" parent="Jetpack" unique_id=403353396]
|
|
|
|
[node name="DeathSound" type="AudioStreamPlayer2D" parent="Jetpack" unique_id=1365918564]
|
|
stream = ExtResource("20_l50qk")
|
|
|
|
[node name="DoubleJumpSound" type="AudioStreamPlayer2D" parent="Jetpack" unique_id=1131911389]
|
|
stream = ExtResource("20_1741q")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1294571021]
|
|
shape = SubResource("RectangleShape2D_fj7yv")
|
|
|
|
[node name="BackgroundMusic" type="AudioStreamPlayer2D" parent="." unique_id=2123463449]
|
|
stream = ExtResource("12_5s8kx")
|
|
volume_db = -5.0
|