From 1642aab0b5ecf614dbc93a551c6de08ed2710c59 Mon Sep 17 00:00:00 2001 From: KingGurke Date: Mon, 2 Oct 2023 23:39:59 +0200 Subject: [PATCH] Added lv 12 --- src/game/levels/level_12.tscn | 211 ++++++++++++++++++++++++++++++++++ 1 file changed, 211 insertions(+) create mode 100644 src/game/levels/level_12.tscn diff --git a/src/game/levels/level_12.tscn b/src/game/levels/level_12.tscn new file mode 100644 index 0000000..69412d2 --- /dev/null +++ b/src/game/levels/level_12.tscn @@ -0,0 +1,211 @@ +[gd_scene load_steps=16 format=3 uid="uid://b8lofag0ldx00"] + +[ext_resource type="Script" path="res://src/game/levels/level.gd" id="1_86jnx"] +[ext_resource type="Texture2D" uid="uid://gjr7tbyrdo6e" path="res://assets/bkbg.png" id="2_whpbj"] +[ext_resource type="Texture2D" uid="uid://dio3rrptd6w7c" path="res://assets/bg_90_bk.png" id="3_uedth"] +[ext_resource type="Texture2D" uid="uid://ds0un04pocx6i" path="res://assets/track_90_bk.png" id="4_wonvh"] +[ext_resource type="Texture2D" uid="uid://dmcrms0qu0mtt" path="res://assets/finish2.png" id="5_ary2k"] +[ext_resource type="PackedScene" uid="uid://ckau5s2tsb3oc" path="res://src/game/player.tscn" id="6_wtolt"] +[ext_resource type="PackedScene" uid="uid://cdlbh3smpgg42" path="res://src/gui/hud/hud.tscn" id="7_dp1jy"] +[ext_resource type="PackedScene" uid="uid://c0sexrwxdge73" path="res://src/gui/menu/level.tscn" id="8_mc8pt"] +[ext_resource type="PackedScene" uid="uid://ya1ctigi23wa" path="res://assets/sign.tscn" id="9_s3160"] +[ext_resource type="PackedScene" uid="uid://ebmku7hq0mxi" path="res://assets/arrow_light_1.tscn" id="10_e3djp"] +[ext_resource type="PackedScene" uid="uid://da1mcxm6jcpbo" path="res://assets/arrow_light_2.tscn" id="11_7ggo8"] +[ext_resource type="PackedScene" uid="uid://c0v3ix36w45d3" path="res://assets/arrow_light_3.tscn" id="12_uoevu"] +[ext_resource type="Texture2D" uid="uid://bq151lkkfdlf4" path="res://assets/sign.png" id="13_qh7d7"] +[ext_resource type="AudioStream" uid="uid://dh5jxxwim7ra8" path="res://assets/sounds/music/death_by_waveshaper.wav" id="14_s7seq"] + +[sub_resource type="Curve2D" id="Curve2D_ll8bj"] +_data = { +"points": PackedVector2Array(-578.608, 1.85259, 578.608, -1.85259, 173, -44, -28.2843, -373.352, 28.2843, 373.352, 1582, 363, 511.945, 0, -511.945, 0, 145, 726, 282.986, 272.307, -282.986, -272.307, -1699, 384, -48.0542, 475.203, 48.0542, -475.203, -2389, -809, -411.131, 213.574, 411.131, -213.574, -1556, -1821, -736.832, 10.6787, 736.832, -10.6787, 476, -2325, -229.592, -144.163, 229.592, 144.163, 1837, -2007, -80.0904, -149.502, 80.0904, 149.502, 2165, -1512, -213.574, -48.0542, 213.574, 48.0542, 2556, -1102, -96.1085, 197.556, 96.1085, -197.556, 3269, -1408, -112.127, 181.538, 112.127, -181.538, 3413, -2163, -234.932, -21.3574, 234.932, 21.3574, 3889, -2366, -85.4298, -202.896, 85.4298, 202.896, 4438, -2060, 160.181, -331.04, -160.181, 331.04, 4416, -1112, 218.914, -149.502, -218.914, 149.502, 3832, -463, 437.828, -42.7149, -437.828, 42.7149, 2811, -167, 304.344, 186.878, -304.344, -186.878, 1309, -634, 299.004, 138.823, -299.004, -138.823, 475, -1204, 234.932, -85.4298, -234.932, 85.4298, -551, -1290, 96.1085, -170.86, -96.1085, 170.86, -1167, -872, -159.448, -224.841, 159.448, 224.841, -1164, -228, -235.451, 3.36359, 235.451, -3.36359, 173, -44) +} +point_count = 23 + +[node name="level12" type="Node2D" node_paths=PackedStringArray("path", "line", "player", "finish", "menu")] +script = ExtResource("1_86jnx") +starting_width = 400.0 +shrink_factor = 5.0 +max_distance_offset = 5.0 +level_nr = 12 +path = NodePath("TrackPath") +line = NodePath("TrackLine") +player = NodePath("player") +finish = NodePath("FinishLine") +menu = NodePath("CanvasLayer/menu_box") + +[node name="EditingBG" type="TextureRect" parent="."] +self_modulate = Color(0.0313726, 0.737255, 0, 1) +offset_left = -13625.0 +offset_top = -10313.0 +offset_right = 43925.0 +offset_bottom = 33831.0 +scale = Vector2(0.5, 0.5) +texture = ExtResource("2_whpbj") +stretch_mode = 1 + +[node name="Background" type="TextureRect" parent="."] +self_modulate = Color(0.117647, 0.0941176, 0.152941, 1) +offset_left = -6825.0 +offset_top = -6132.0 +offset_right = 22643.0 +offset_bottom = 15174.0 +scale = Vector2(0.5, 0.5) +texture = ExtResource("3_uedth") +stretch_mode = 1 + +[node name="TrackPath" type="Path2D" parent="."] +curve = SubResource("Curve2D_ll8bj") + +[node name="TrackLine" type="Line2D" parent="."] +texture_repeat = 2 +texture = ExtResource("4_wonvh") +texture_mode = 2 +begin_cap_mode = 2 + +[node name="FinishLine" type="Line2D" parent="."] +texture_repeat = 2 +width = 40.0 +texture = ExtResource("5_ary2k") +texture_mode = 1 +begin_cap_mode = 2 +end_cap_mode = 2 +round_precision = 32 +antialiased = true + +[node name="player" parent="." instance=ExtResource("6_wtolt")] +position = Vector2(27, -55) +brake_strength = 800.0 + +[node name="CanvasLayer" type="CanvasLayer" parent="."] + +[node name="hud" parent="CanvasLayer" instance=ExtResource("7_dp1jy")] +size_flags_horizontal = 3 + +[node name="menu_box" type="Control" parent="CanvasLayer"] +visible = false +layout_mode = 3 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -20.0 +offset_top = -20.0 +offset_right = 20.0 +offset_bottom = 20.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="level" parent="CanvasLayer/menu_box" instance=ExtResource("8_mc8pt")] +layout_mode = 1 + +[node name="Node2D2" type="Node2D" parent="."] +visible = false + +[node name="Sign" parent="Node2D2" instance=ExtResource("9_s3160")] +light_mask = 7 +position = Vector2(-2102, 196) +rotation = 0.439265 + +[node name="Arrow_light_1" parent="Node2D2" instance=ExtResource("10_e3djp")] +position = Vector2(-4310.93, -5419.8) +rotation = 0.982893 + +[node name="Arrow_light_2" parent="Node2D2" instance=ExtResource("11_7ggo8")] +position = Vector2(-5393.93, -4898.8) +rotation = 1.27233 + +[node name="Arrow_light_3" parent="Node2D2" instance=ExtResource("12_uoevu")] +position = Vector2(-6857.93, -4664.8) +rotation = 1.53565 + +[node name="Sign2" parent="Node2D2" instance=ExtResource("9_s3160")] +light_mask = 7 +position = Vector2(-2019, 9) +rotation = 0.439265 + +[node name="Sign3" parent="Node2D2" instance=ExtResource("9_s3160")] +light_mask = 7 +position = Vector2(-1582, 2034) +rotation = -1.25741 + +[node name="Sign4" parent="Node2D2" instance=ExtResource("9_s3160")] +light_mask = 7 +position = Vector2(-1297, 2113) +rotation = -1.31406 + +[node name="Sign5" parent="Node2D2" instance=ExtResource("9_s3160")] +light_mask = 7 +position = Vector2(2557, 132) +rotation = -4.01318 + +[node name="Sign6" parent="Node2D2" instance=ExtResource("9_s3160")] +light_mask = 7 +position = Vector2(2760, 306) +rotation = -3.87817 + +[node name="Sign7" parent="Node2D2" instance=ExtResource("9_s3160")] +light_mask = 7 +position = Vector2(-2181, 391) +rotation = 0.413662 + +[node name="Node2D" type="Node2D" parent="."] +visible = false + +[node name="curveSign3" type="PointLight2D" parent="Node2D"] +position = Vector2(-1720, 2263) +rotation = -1.182 +scale = Vector2(0.3, 0.3) +color = Color(0.690196, 0.545098, 0.0509804, 1) +energy = 20.0 +texture = ExtResource("13_qh7d7") + +[node name="curveSign" type="PointLight2D" parent="Node2D"] +position = Vector2(-2040, 2122) +rotation = -1.27745 +scale = Vector2(0.3, 0.3) +color = Color(0.690196, 0.545098, 0.0509804, 1) +energy = 20.0 +texture = ExtResource("13_qh7d7") + +[node name="curveSign2" type="PointLight2D" parent="Node2D"] +position = Vector2(-2337, -124) +scale = Vector2(0.3, 0.3) +color = Color(0.933333, 0, 0.0235294, 1) +energy = 20.0 +texture = ExtResource("13_qh7d7") + +[node name="curveSign4" type="PointLight2D" parent="Node2D"] +position = Vector2(-2447, 113) +scale = Vector2(0.3, 0.3) +color = Color(0.933333, 0, 0.0235294, 1) +energy = 20.0 +texture = ExtResource("13_qh7d7") + +[node name="curveSign5" type="PointLight2D" parent="Node2D"] +position = Vector2(2664, -97.0001) +rotation = 1.74374 +scale = Vector2(0.3, 0.3) +color = Color(0.690196, 0.545098, 0.0509804, 1) +energy = 20.0 +texture = ExtResource("13_qh7d7") + +[node name="curveSign6" type="PointLight2D" parent="Node2D"] +position = Vector2(2899, 56) +rotation = 2.04177 +scale = Vector2(0.3, 0.3) +color = Color(0.690196, 0.545098, 0.0509804, 1) +energy = 20.0 +texture = ExtResource("13_qh7d7") + +[node name="level_music" type="AudioStreamPlayer" parent="."] +stream = ExtResource("14_s7seq") +volume_db = -29.953 +autoplay = true +bus = &"Music" + +[node name="Editor_Light" type="DirectionalLight2D" parent="."] +editor_only = true + +[connection signal="distance_changed" from="." to="CanvasLayer/hud" method="_on_level_distance_changed"] +[connection signal="speed_changed" from="player" to="CanvasLayer/hud" method="_on_player_speed_changed"]