Jam10/Scenes/DownhillAutoscroller.tscn

194 lines
77 KiB
Plaintext
Raw Permalink Normal View History

2023-01-30 13:54:29 +00:00
[gd_scene load_steps=19 format=2]
2023-01-27 21:55:12 +00:00
2023-01-28 07:13:06 +00:00
[ext_resource path="res://Tile Sets/SnowySlopes.tres" type="TileSet" id=1]
2023-01-27 21:55:12 +00:00
[ext_resource path="res://Units/DownhillAutoscrollerPlayer.tscn" type="PackedScene" id=2]
2023-01-28 07:13:06 +00:00
[ext_resource path="res://Tile Sets/SnowySlopesExtra.tres" type="TileSet" id=3]
2023-01-29 07:24:33 +00:00
[ext_resource path="res://Graphics/Animations/Background.tres" type="Texture" id=4]
2023-01-27 21:55:12 +00:00
[ext_resource path="res://Scripts/GameScene.gd" type="Script" id=5]
2023-01-29 22:46:06 +00:00
[ext_resource path="res://Units/DownhillAutoscrollerRivalMystia.tscn" type="PackedScene" id=6]
2023-01-30 02:39:59 +00:00
[ext_resource path="res://Sounds/pichuun.mp3" type="AudioStream" id=7]
[ext_resource path="res://Sounds/whoosh-6316.mp3" type="AudioStream" id=8]
[ext_resource path="res://Sounds/sfx_jump_07-80241.mp3" type="AudioStream" id=9]
[ext_resource path="res://Sounds/land2-43790.mp3" type="AudioStream" id=10]
[ext_resource path="res://Sounds/ski-67717.wav" type="AudioStream" id=11]
2023-01-30 08:02:47 +00:00
[ext_resource path="res://Fonts/squares/squares.tres" type="DynamicFont" id=12]
[ext_resource path="res://Scripts/InGameUI.gd" type="Script" id=13]
[ext_resource path="res://Fonts/squares/squares_big.tres" type="DynamicFont" id=14]
2023-01-30 10:12:53 +00:00
[ext_resource path="res://Scripts/PlayerRecorder.gd" type="Script" id=16]
2023-01-27 21:55:12 +00:00
2023-01-30 01:07:02 +00:00
[sub_resource type="Animation" id=3]
resource_name = "InitialFade"
length = 0.75
tracks/0/type = "value"
tracks/0/path = NodePath(".:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.7 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}
2023-01-29 00:19:29 +00:00
[sub_resource type="Animation" id=1]
resource_name = "PitTransition"
length = 1.5
tracks/0/type = "value"
tracks/0/path = NodePath(".:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.9, 1.5 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 0, 0, 0, 1 ), Color( 1, 1, 1, 0 ) ]
}
tracks/1/type = "method"
tracks/1/path = NodePath("../../Player")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0.9 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [ ],
"method": "respawn_from_pit"
} ]
}
[sub_resource type="Animation" id=2]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath(".:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ) ]
}
2023-01-27 21:55:12 +00:00
[node name="Scene" type="Node"]
script = ExtResource( 5 )
2023-01-29 00:19:29 +00:00
__meta__ = {
2023-01-29 03:21:34 +00:00
"_edit_horizontal_guides_": [ 214.0, 332.0 ],
"_edit_vertical_guides_": [ 2134.0, 3833.0 ]
2023-01-29 00:19:29 +00:00
}
2023-01-28 07:13:06 +00:00
tile_set_name = "SnowySlopes"
2023-01-30 08:40:31 +00:00
finish_x_pos = 354
target_time = 60.0
defeat_cutscene = "LostRace1"
2023-01-30 22:38:20 +00:00
victory_cutscene = "WonRace1"
2023-01-30 13:54:29 +00:00
level = 1
2023-01-27 21:55:12 +00:00
2023-01-29 07:24:33 +00:00
[node name="CanvasLayerBG" type="CanvasLayer" parent="."]
layer = -1
[node name="TextureRect" type="TextureRect" parent="CanvasLayerBG"]
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 4 )
2023-01-27 21:55:12 +00:00
[node name="Stage" type="TileMap" parent="."]
tile_set = ExtResource( 1 )
2023-01-28 07:13:06 +00:00
cell_size = Vector2( 48, 48 )
2023-01-28 09:39:00 +00:00
show_collision = true
2023-01-28 07:13:06 +00:00
format = 1
2023-01-30 19:49:06 +00:00
tile_data = PoolIntArray( -655369, 0, 0, -655368, 0, 0, -655367, 0, 0, -655366, 0, 0, -655365, 0, 0, -655364, 0, 0, -655363, 0, 0, -655362, 0, 0, -655361, 5, 0, -589833, 0, 0, -589832, 0, 0, -589831, 0, 0, -589830, 0, 0, -589829, 0, 0, -589828, 0, 0, -589827, 0, 0, -589826, 0, 0, -589825, 5, 0, -524297, 0, 0, -524296, 0, 0, -524295, 0, 0, -524294, 0, 0, -524293, 0, 0, -524292, 0, 0, -524291, 0, 0, -524290, 0, 0, -524289, 5, 0, -458761, 0, 0, -458760, 0, 0, -458759, 0, 0, -458758, 0, 0, -458757, 0, 0, -458756, 0, 0, -458755, 0, 0, -458754, 0, 0, -458753, 5, 0, -393225, 0, 0, -393224, 0, 0, -393223, 0, 0, -393222, 0, 0, -393221, 0, 0, -393220, 0, 0, -393219, 0, 0, -393218, 0, 0, -393217, 5, 0, -327689, 0, 0, -327688, 0, 0, -327687, 0, 0, -327686, 0, 0, -327685, 0, 0, -327684, 0, 0, -327683, 0, 0, -327682, 0, 0, -327681, 5, 0, -262153, 0, 0, -262152, 0, 0, -262151, 0, 0, -262150, 0, 0, -262149, 0, 0, -262148, 0, 0, -262147, 0, 0, -262146, 0, 0, -262145, 5, 0, -196617, 0, 0, -196616, 0, 0, -196615, 0, 0, -196614, 0, 0, -196613, 0, 0, -196612, 0, 0, -196611, 0, 0, -196610, 0, 0, -196609, 5, 0, -131081, 0, 0, -131080, 0, 0, -131079, 0, 0, -131078, 0, 0, -131077, 0, 0, -131076, 0, 0, -131075, 0, 0, -131074, 0, 0, -131073, 5, 0, -65545, 0, 0, -65544, 0, 0, -65543, 0, 0, -65542, 0, 0, -65541, 0, 0, -65540, 0, 0, -65539, 0, 0, -65538, 0, 0, -65537, 5, 0, -9, 0, 0, -8, 0, 0, -7, 0, 0, -6, 0, 0, -5, 0, 0, -4, 0, 0, -3, 0, 0, -2, 0, 0, -1, 5, 0, -65536, 2, 0, -65535, 1, 0, -65534, 1, 0, -65533, 1, 0, -65532, 1, 0, -65531, 16, 0, -65530, 14, 0, 65527, 0, 0, 65528, 0, 0, 65529, 0, 0, 65530, 0, 0, 65531, 0, 0, 65532, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 5, 0, 0, 4, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 0, 6, 0, 0, 7, 16, 0, 8, 14, 0, 131063, 0, 0, 131064, 0, 0, 131065, 0, 0, 131066, 0, 0, 131067, 0, 0, 131068, 0, 0, 131069, 0, 0, 131070, 0, 0, 131071, 5, 0, 65536, 4, 0, 65537, 0, 0, 65538, 0, 0, 65539, 0, 0, 65540, 0, 0, 65541, 0, 0, 65542, 0, 0, 65543, 0, 0, 65544, 0, 0, 65545, 16, 0, 65546, 14, 0, 196599, 0, 0, 196600, 0, 0, 196601, 0, 0, 196602, 0, 0, 196603, 0, 0, 196604, 0, 0, 196605, 0, 0, 196606, 0, 0, 196607, 5, 0, 131072, 4, 0, 131073, 0, 0, 131074, 0, 0, 131075, 0, 0, 131076, 0, 0, 131077, 0, 0, 131078, 0, 0, 131079, 0, 0, 131080, 0, 0, 131081, 0, 0, 131082, 0, 0, 131083, 16, 0, 131084, 14, 0, 262135, 0, 0, 262136, 0, 0, 262137, 0, 0, 262138, 0, 0, 262139, 0, 0, 262140, 0, 0, 262141, 0, 0, 262142, 0, 0, 262143, 5, 0, 196608, 4, 0, 196609, 0, 0, 196610, 0, 0, 196611, 0, 0, 196612, 0, 0, 196613, 0, 0, 196614, 0, 0, 196615, 0, 0, 196616, 0, 0, 196617, 0, 0, 196618, 0, 0, 196619, 0, 0, 196620, 0, 0, 196621, 10, 0, 327671, 0, 0, 327672, 0, 0, 327673, 0, 0, 327674, 0, 0, 327675, 0, 0, 327676, 0, 0, 327677, 0, 0, 327678, 0, 0, 327679, 5, 0, 262144, 4, 0, 262145, 0, 0, 262146, 0, 0, 262147, 0, 0, 262148, 0, 0, 262149, 0, 0, 262150, 0, 0, 262151, 0, 0, 262152, 0, 0, 262153, 0, 0, 262154, 0, 0, 262155, 0, 0, 262156, 0, 0, 262157, 0, 0, 262158, 10, 0, 262164, 11, 0, 393207, 0, 0, 393208, 0, 0, 393209, 0, 0, 393210, 0, 0, 393211, 0, 0, 393212, 0, 0, 393213, 0, 0, 393214, 0, 0, 393215, 5, 0, 327680, 4, 0, 327681, 0, 0, 327682, 0, 0, 327683, 0, 0, 327684, 0, 0, 327685, 0, 0, 327686, 0, 0, 327687, 0, 0, 327688, 0, 0, 327689, 0, 0, 327690, 0, 0, 327691, 0, 0, 327692, 0, 0, 327693, 0, 0, 327694, 0, 0, 327695, 16, 0, 327696, 14, 0, 327698, 17, 0, 327699, 15, 0, 327700, 5, 0, 327725, 23, 0, 458743, 0, 0, 458744, 0, 0, 458745, 0, 0, 458746, 0, 0, 458747, 0, 0, 458748, 0, 0, 458749, 0, 0, 458750, 0, 0, 458751, 5, 0, 393216, 4, 0, 393217, 0, 0, 393218, 0, 0, 393219, 0, 0, 393220, 0, 0, 393221, 0, 0, 393222, 0, 0, 393223, 0, 0, 393224, 0, 0, 393225, 0, 0, 393226, 0, 0, 393227, 0, 0, 393228, 0, 0, 393229, 0, 0, 393230, 0, 0, 393231, 0, 0, 393232, 0, 0, 393233, 1, 0, 393234, 0, 0, 393235, 0, 0, 393236, 5, 0, 393237, 2, 0, 393238, 1, 0, 393239, 1, 0, 393240, 1, 0, 393241, 1, 0, 393242, 1, 0, 393243, 1, 0, 393244, 1, 0, 393245, 1, 0, 393246, 1, 0, 393247, 1, 0, 393248, 1, 0, 393249, 1, 0, 393250, 1, 0, 393251, 1, 0, 393252, 1, 0, 393253, 1, 0,
2023-01-28 07:13:06 +00:00
[node name="StageAddendum" type="TileMap" parent="."]
tile_set = ExtResource( 3 )
cell_size = Vector2( 48, 48 )
2023-01-27 21:55:12 +00:00
format = 1
2023-01-28 08:07:46 +00:00
tile_data = PoolIntArray( 1, 8, 0, 6, 3, 0, 65539, 9, 0, 65541, 8, 0, 65544, 3, 0, 131080, 8, 0, 131082, 3, 0, 196620, 3, 0, 262154, 9, 0, 262157, 1, 0, 327694, 1, 0, 327700, 0, 0, 393227, 9, 0, 393229, 8, 0, 393232, 3, 0, 393234, 2, 0, 458771, 8, 0, 458781, 8, 0, 458795, 8, 0, 524312, 8, 0, 524320, 9, 0, 524322, 9, 0, 524323, 8, 0, 589863, 8, 0, 589897, 2, 0, 589901, 3, 0, 655432, 0, 0, 655442, 3, 0, 720966, 2, 0, 720972, 8, 0, 720976, 8, 0, 720980, 3, 0, 786498, 8, 0, 786502, 9, 0, 786517, 1, 0, 852017, 9, 0, 852019, 8, 0, 852025, 9, 0, 852054, 1, 0, 852062, 2, 0, 852066, 3, 0, 917565, 8, 0, 917584, 9, 0, 917591, 1, 0, 917597, 0, 0, 917603, 1, 0, 983129, 3, 0, 983131, 2, 0, 983135, 8, 0, 983140, 1, 0, 1048662, 8, 0, 1048675, 8, 0, 1048677, 1, 0, 1114212, 9, 0, 1114215, 3, 0, 1179754, 3, 0, 1245291, 1, 0, 1245308, 2, 0, 1245312, 3, 0, 1310826, 8, 0, 1310829, 3, 0, 1310843, 0, 0, 1310845, 8, 0, 1310849, 1, 0, 1376360, 9, 0, 1376367, 3, 0, 1376377, 2, 0, 1376386, 1, 0, 1441904, 8, 0, 1441908, 8, 0, 1441923, 1, 0, 1507460, 1, 0, 1572978, 9, 0, 1572995, 8, 0, 1572997, 1, 0, 1638534, 1, 0, 1704071, 1, 0, 1769605, 9, 0, 1769608, 1, 0, 1769619, 3, 0, 1835146, 3, 0, 1835156, 1, 0, 1900681, 8, 0, 1900688, 8, 0, 1900693, 1, 0, 1966230, 1, 0, 2031768, 3, 0, 2031779, 2, 0, 2031794, 9, 0, 2031799, 3, 0, 2097302, 9, 0, 2097312, 9, 0, 2097333, 8, 0, 2097336, 1, 0, 2097344, 2, 0, 2097373, 3, 0, 2162844, 8, 0, 2162862, 8, 0, 2162873, 1, 0, 2162879, 0, 0, 2162880, 8, 0, 2162885, 2, 0, 2228372, 9, 0, 2228402, 9, 0, 2228411, 3, 0, 2228413, 2, 0, 2228428, 2, 0, 2228447, 8, 0, 2293950, 8, 0, 2293967, 8, 0, 2359478, 9, 0, 2359533, 8, 0, 2425030, 9, 0, 2425063, 8, 0, 2425072, 1, 0, 2490609, 1, 0, 2556147, 3, 0, 2621684, 9, 0, 2621685, 3, 0, 2687222, 1, 0, 2883835, 1, 0, 2949372, 1, 0, 3014910, 3, 0, 3080451, 3, 0, 3145985, 9, 0, 3145988, 1, 0, 3211525, 1, 0, 3211530, 3, 0, 3211531, 1, 0, 3277059, 8, 0, 3277066, 9, 0, 3277069, 3, 0, 3342606, 1, 0, 3342607, 1, 0, 3342615, 3, 0, 3408143, 9, 0, 3408145, 3, 0, 3408148, 2, 0, 3408152, 1, 0, 3473682, 8, 0, 3473689, 1, 0, 3473699, 2, 0, 3473703, 3, 0, 3539226, 1, 0, 3539234, 0, 0, 3539240, 1, 0, 3604763, 1, 0, 3604768, 2, 0, 3604778, 3, 0, 3670306, 8, 0, 3670312, 9, 0, 3670316, 3, 0, 3735861, 9, 0, 3801395, 8, 0, 3801400, 8, 0, 3801406, 3, 0, 3801416, 2, 0, 3801442, 9, 0, 3866934, 9, 0, 3866943, 1, 0, 3866951, 0, 0, 3866975, 8, 0, 3932480, 1, 0, 3932495, 8, 0, 3932501, 9, 0, 3932516, 9, 0, 3998020, 2, 0, 4063551, 8, 0, 4129092, 8, 0 )
2023-01-27 21:55:12 +00:00
[node name="Player" parent="." instance=ExtResource( 2 )]
2023-01-29 03:21:34 +00:00
position = Vector2( 91, -197 )
2023-01-27 21:55:12 +00:00
[node name="Camera2D" type="Camera2D" parent="Player"]
offset = Vector2( 0, -15 )
2023-01-30 08:02:47 +00:00
smoothing_speed = 7.0
2023-01-29 00:19:29 +00:00
2023-01-30 08:56:47 +00:00
[node name="PlayerRecorder" type="Node" parent="Player"]
2023-01-30 10:12:53 +00:00
script = ExtResource( 16 )
2023-01-30 19:49:06 +00:00
save_to = "res://Replays/ReplayOutput1.dat"
2023-01-30 08:56:47 +00:00
2023-01-29 00:19:29 +00:00
[node name="SpectatorCam" type="Camera2D" parent="."]
offset = Vector2( 0, -15 )
2023-01-29 07:24:33 +00:00
[node name="Rival" parent="." instance=ExtResource( 6 )]
position = Vector2( 91, -197 )
2023-01-30 19:49:06 +00:00
replay_file = "res://Replays/L1%s.dat"
2023-01-29 07:24:33 +00:00
2023-01-29 00:19:29 +00:00
[node name="CanvasLayer" type="CanvasLayer" parent="."]
2023-01-30 08:02:47 +00:00
script = ExtResource( 13 )
[node name="Speedometer" type="RichTextLabel" parent="CanvasLayer"]
margin_left = 20.0
margin_top = 20.0
margin_right = 170.0
margin_bottom = 80.0
custom_colors/default_color = Color( 0.560784, 0.972549, 0.886275, 1 )
custom_fonts/normal_font = ExtResource( 14 )
text = "+00 MPH"
fit_content_height = true
scroll_active = false
[node name="Timer" type="RichTextLabel" parent="CanvasLayer"]
margin_left = 870.0
margin_top = 20.0
margin_right = 1020.0
margin_bottom = 80.0
custom_colors/default_color = Color( 0.560784, 0.972549, 0.886275, 1 )
custom_fonts/normal_font = ExtResource( 14 )
text = "+00 MPH"
fit_content_height = true
scroll_active = false
[node name="BoostLabel" type="RichTextLabel" parent="CanvasLayer"]
margin_left = 150.0
margin_top = 150.0
margin_right = 300.0
margin_bottom = 180.0
custom_fonts/normal_font = ExtResource( 12 )
text = "+00 MPH"
fit_content_height = true
scroll_active = false
2023-01-29 00:19:29 +00:00
[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
modulate = Color( 1, 1, 1, 0 )
anchor_right = 1.0
anchor_bottom = 1.0
2023-01-30 08:02:47 +00:00
color = Color( 0, 0, 0, 1 )
2023-01-29 00:19:29 +00:00
[node name="PitTransitionPlayer" type="AnimationPlayer" parent="CanvasLayer/ColorRect"]
2023-01-30 01:07:02 +00:00
anims/InitialFade = SubResource( 3 )
2023-01-29 00:19:29 +00:00
anims/PitTransition = SubResource( 1 )
anims/RESET = SubResource( 2 )
2023-01-30 02:39:59 +00:00
[node name="HitAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 7 )
volume_db = -4.0
[node name="SpinAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 8 )
[node name="JumpAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 9 )
[node name="LandAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 10 )
volume_db = 4.0
[node name="SnowAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 11 )