level 4, 5, 7, 8, 10, 11
This commit is contained in:
parent
6c6125956d
commit
22bf979ced
7 changed files with 1091 additions and 1 deletions
183
src/game/levels/level_10.tscn
Normal file
183
src/game/levels/level_10.tscn
Normal file
|
@ -0,0 +1,183 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://cgjqhcevvitpe"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/game/levels/level.gd" id="1_0iikq"]
|
||||
[ext_resource type="Texture2D" uid="uid://gjr7tbyrdo6e" path="res://assets/bkbg.png" id="2_7udti"]
|
||||
[ext_resource type="Texture2D" uid="uid://dio3rrptd6w7c" path="res://assets/bg_90_bk.png" id="3_xs0lb"]
|
||||
[ext_resource type="Texture2D" uid="uid://ds0un04pocx6i" path="res://assets/track_90_bk.png" id="4_hnomy"]
|
||||
[ext_resource type="Texture2D" uid="uid://dmcrms0qu0mtt" path="res://assets/finish2.png" id="5_x3b7b"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckau5s2tsb3oc" path="res://src/game/player.tscn" id="6_sw8ey"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdlbh3smpgg42" path="res://src/gui/hud/hud.tscn" id="7_2jn2t"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0sexrwxdge73" path="res://src/gui/menu/level.tscn" id="8_p41l4"]
|
||||
[ext_resource type="PackedScene" uid="uid://ya1ctigi23wa" path="res://assets/sign.tscn" id="9_p0kde"]
|
||||
[ext_resource type="PackedScene" uid="uid://ebmku7hq0mxi" path="res://assets/arrow_light_1.tscn" id="10_df7j1"]
|
||||
[ext_resource type="PackedScene" uid="uid://da1mcxm6jcpbo" path="res://assets/arrow_light_2.tscn" id="11_lg2sr"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0v3ix36w45d3" path="res://assets/arrow_light_3.tscn" id="12_l0gwl"]
|
||||
[ext_resource type="Texture2D" uid="uid://bq151lkkfdlf4" path="res://assets/sign.png" id="13_s08ey"]
|
||||
[ext_resource type="AudioStream" uid="uid://dh5jxxwim7ra8" path="res://assets/sounds/music/death_by_waveshaper.wav" id="14_50nm0"]
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_ll8bj"]
|
||||
_data = {
|
||||
"points": PackedVector2Array(-96.196, 0.475433, 96.196, -0.475433, 59, -56, -374.075, -26.102, 374.075, 26.102, 609, -61, -253.123, 363.258, 253.123, -363.258, 3220, 449, 499.774, 369.317, -499.774, -369.317, 3040, -1257, 516.849, 437.474, -516.849, -437.474, 1437, -1656, 1600.4, 8.38297, -1600.4, -8.38297, 351, -6350, 1075.28, -543.593, -1075.28, 543.593, -1181, -1432, -484.398, -702.658, 484.398, 702.658, -2210, 215, -213.816, 74.8355, 213.816, -74.8355, -567, 9, -102.358, -2.55713, 102.358, 2.55713, 59, -56)
|
||||
}
|
||||
point_count = 10
|
||||
|
||||
[node name="level10" type="Node2D" node_paths=PackedStringArray("path", "line", "player", "finish", "menu")]
|
||||
script = ExtResource("1_0iikq")
|
||||
starting_width = 400.0
|
||||
shrink_factor = 5.0
|
||||
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 = -13628.0
|
||||
offset_top = -11214.0
|
||||
offset_right = 43922.0
|
||||
offset_bottom = 32930.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_7udti")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="Background" type="TextureRect" parent="."]
|
||||
modulate = Color(0.870588, 0.372549, 0.709804, 1)
|
||||
self_modulate = Color(0.47451, 0.505882, 0.545098, 1)
|
||||
offset_left = -6505.0
|
||||
offset_top = -8342.0
|
||||
offset_right = 19845.0
|
||||
offset_bottom = 17812.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("3_xs0lb")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="TrackPath" type="Path2D" parent="."]
|
||||
position = Vector2(1, 0)
|
||||
curve = SubResource("Curve2D_ll8bj")
|
||||
|
||||
[node name="TrackLine" type="Line2D" parent="."]
|
||||
self_modulate = Color(0.788235, 0, 0.694118, 1)
|
||||
texture_repeat = 2
|
||||
texture = ExtResource("4_hnomy")
|
||||
texture_mode = 2
|
||||
begin_cap_mode = 2
|
||||
|
||||
[node name="FinishLine" type="Line2D" parent="."]
|
||||
texture_repeat = 2
|
||||
width = 40.0
|
||||
texture = ExtResource("5_x3b7b")
|
||||
texture_mode = 1
|
||||
begin_cap_mode = 2
|
||||
end_cap_mode = 2
|
||||
round_precision = 32
|
||||
antialiased = true
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("6_sw8ey")]
|
||||
position = Vector2(27, -55)
|
||||
brake_strength = 800.0
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="hud" parent="CanvasLayer" instance=ExtResource("7_2jn2t")]
|
||||
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_p41l4")]
|
||||
layout_mode = 1
|
||||
|
||||
[node name="Node2D2" type="Node2D" parent="."]
|
||||
|
||||
[node name="Sign" parent="Node2D2" instance=ExtResource("9_p0kde")]
|
||||
light_mask = 7
|
||||
position = Vector2(-7592, -6933)
|
||||
rotation = -0.451921
|
||||
scale = Vector2(36.1222, 29.4521)
|
||||
energy = 8.0
|
||||
|
||||
[node name="Arrow_light_1" parent="Node2D2" instance=ExtResource("10_df7j1")]
|
||||
position = Vector2(-4310.93, -5419.8)
|
||||
rotation = 0.982893
|
||||
|
||||
[node name="Arrow_light_2" parent="Node2D2" instance=ExtResource("11_lg2sr")]
|
||||
position = Vector2(-5393.93, -4898.8)
|
||||
rotation = 1.27233
|
||||
|
||||
[node name="Arrow_light_3" parent="Node2D2" instance=ExtResource("12_l0gwl")]
|
||||
position = Vector2(-6857.93, -4664.8)
|
||||
rotation = 1.53565
|
||||
|
||||
[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_s08ey")
|
||||
|
||||
[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_s08ey")
|
||||
|
||||
[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_s08ey")
|
||||
|
||||
[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_s08ey")
|
||||
|
||||
[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_s08ey")
|
||||
|
||||
[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_s08ey")
|
||||
|
||||
[node name="level_music" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("14_50nm0")
|
||||
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"]
|
183
src/game/levels/level_11.tscn
Normal file
183
src/game/levels/level_11.tscn
Normal file
|
@ -0,0 +1,183 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://fnibgyqps2q"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/game/levels/level.gd" id="1_7lryi"]
|
||||
[ext_resource type="Texture2D" uid="uid://gjr7tbyrdo6e" path="res://assets/bkbg.png" id="2_51lut"]
|
||||
[ext_resource type="Texture2D" uid="uid://dio3rrptd6w7c" path="res://assets/bg_90_bk.png" id="3_lj75v"]
|
||||
[ext_resource type="Texture2D" uid="uid://ds0un04pocx6i" path="res://assets/track_90_bk.png" id="4_dkhn4"]
|
||||
[ext_resource type="Texture2D" uid="uid://dmcrms0qu0mtt" path="res://assets/finish2.png" id="5_85e8p"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckau5s2tsb3oc" path="res://src/game/player.tscn" id="6_xx6h1"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdlbh3smpgg42" path="res://src/gui/hud/hud.tscn" id="7_nbkcm"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0sexrwxdge73" path="res://src/gui/menu/level.tscn" id="8_p3k2y"]
|
||||
[ext_resource type="PackedScene" uid="uid://ya1ctigi23wa" path="res://assets/sign.tscn" id="9_qdne3"]
|
||||
[ext_resource type="PackedScene" uid="uid://ebmku7hq0mxi" path="res://assets/arrow_light_1.tscn" id="10_4lx02"]
|
||||
[ext_resource type="PackedScene" uid="uid://da1mcxm6jcpbo" path="res://assets/arrow_light_2.tscn" id="11_gv3gb"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0v3ix36w45d3" path="res://assets/arrow_light_3.tscn" id="12_tro1b"]
|
||||
[ext_resource type="Texture2D" uid="uid://bq151lkkfdlf4" path="res://assets/sign.png" id="13_o22bw"]
|
||||
[ext_resource type="AudioStream" uid="uid://dh5jxxwim7ra8" path="res://assets/sounds/music/death_by_waveshaper.wav" id="14_33cme"]
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_ll8bj"]
|
||||
_data = {
|
||||
"points": PackedVector2Array(-96.196, 0.475433, 96.196, -0.475433, 59, -56, -374.075, -26.102, 374.075, 26.102, 609, -61, -475.359, 433.104, 475.359, -433.104, 3469, -247, 499.774, 369.317, -499.774, -369.317, 3304, -2342, 516.849, 437.474, -516.849, -437.474, 764, -2095, 1600.4, 8.38297, -1600.4, -8.38297, 351, -6350, -423.579, -566.44, 423.579, 566.44, -1146, -850, -102.358, -2.55713, 102.358, 2.55713, 59, -56)
|
||||
}
|
||||
point_count = 8
|
||||
|
||||
[node name="level11" type="Node2D" node_paths=PackedStringArray("path", "line", "player", "finish", "menu")]
|
||||
script = ExtResource("1_7lryi")
|
||||
starting_width = 400.0
|
||||
shrink_factor = 5.0
|
||||
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 = -13640.0
|
||||
offset_top = -10315.0
|
||||
offset_right = 43910.0
|
||||
offset_bottom = 33829.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_51lut")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="Background" type="TextureRect" parent="."]
|
||||
modulate = Color(0, 0.678431, 0.611765, 1)
|
||||
self_modulate = Color(0.47451, 0.505882, 0.545098, 1)
|
||||
offset_left = -6362.0
|
||||
offset_top = -8771.0
|
||||
offset_right = 19988.0
|
||||
offset_bottom = 13241.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("3_lj75v")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="TrackPath" type="Path2D" parent="."]
|
||||
position = Vector2(1, 0)
|
||||
curve = SubResource("Curve2D_ll8bj")
|
||||
|
||||
[node name="TrackLine" type="Line2D" parent="."]
|
||||
self_modulate = Color(0.87451, 0, 0.254902, 1)
|
||||
texture_repeat = 2
|
||||
texture = ExtResource("4_dkhn4")
|
||||
texture_mode = 2
|
||||
begin_cap_mode = 2
|
||||
|
||||
[node name="FinishLine" type="Line2D" parent="."]
|
||||
texture_repeat = 2
|
||||
width = 40.0
|
||||
texture = ExtResource("5_85e8p")
|
||||
texture_mode = 1
|
||||
begin_cap_mode = 2
|
||||
end_cap_mode = 2
|
||||
round_precision = 32
|
||||
antialiased = true
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("6_xx6h1")]
|
||||
position = Vector2(27, -55)
|
||||
brake_strength = 800.0
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="hud" parent="CanvasLayer" instance=ExtResource("7_nbkcm")]
|
||||
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_p3k2y")]
|
||||
layout_mode = 1
|
||||
|
||||
[node name="Node2D2" type="Node2D" parent="."]
|
||||
|
||||
[node name="Sign" parent="Node2D2" instance=ExtResource("9_qdne3")]
|
||||
light_mask = 7
|
||||
position = Vector2(-7592, -6933)
|
||||
rotation = -0.451921
|
||||
scale = Vector2(36.1222, 29.4521)
|
||||
energy = 8.0
|
||||
|
||||
[node name="Arrow_light_1" parent="Node2D2" instance=ExtResource("10_4lx02")]
|
||||
position = Vector2(-4310.93, -5419.8)
|
||||
rotation = 0.982893
|
||||
|
||||
[node name="Arrow_light_2" parent="Node2D2" instance=ExtResource("11_gv3gb")]
|
||||
position = Vector2(-5393.93, -4898.8)
|
||||
rotation = 1.27233
|
||||
|
||||
[node name="Arrow_light_3" parent="Node2D2" instance=ExtResource("12_tro1b")]
|
||||
position = Vector2(-6857.93, -4664.8)
|
||||
rotation = 1.53565
|
||||
|
||||
[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_o22bw")
|
||||
|
||||
[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_o22bw")
|
||||
|
||||
[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_o22bw")
|
||||
|
||||
[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_o22bw")
|
||||
|
||||
[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_o22bw")
|
||||
|
||||
[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_o22bw")
|
||||
|
||||
[node name="level_music" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("14_33cme")
|
||||
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"]
|
|
@ -24,8 +24,8 @@ point_count = 10
|
|||
script = ExtResource("1_ijrq0")
|
||||
starting_width = 400.0
|
||||
shrink_factor = 5.0
|
||||
level_nr = 2
|
||||
max_distance_offset = 5.0
|
||||
level_nr = 2
|
||||
path = NodePath("TrackPath")
|
||||
line = NodePath("TrackLine")
|
||||
player = NodePath("player")
|
||||
|
|
181
src/game/levels/level_4.tscn
Normal file
181
src/game/levels/level_4.tscn
Normal file
|
@ -0,0 +1,181 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://dhwh4rf8r0bgl"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/game/levels/level.gd" id="1_xp84j"]
|
||||
[ext_resource type="Texture2D" uid="uid://gjr7tbyrdo6e" path="res://assets/bkbg.png" id="2_j3elp"]
|
||||
[ext_resource type="Texture2D" uid="uid://dio3rrptd6w7c" path="res://assets/bg_90_bk.png" id="3_k0pui"]
|
||||
[ext_resource type="Texture2D" uid="uid://ds0un04pocx6i" path="res://assets/track_90_bk.png" id="4_xxo63"]
|
||||
[ext_resource type="Texture2D" uid="uid://dmcrms0qu0mtt" path="res://assets/finish2.png" id="5_oouov"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckau5s2tsb3oc" path="res://src/game/player.tscn" id="6_6tsse"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdlbh3smpgg42" path="res://src/gui/hud/hud.tscn" id="7_po1re"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0sexrwxdge73" path="res://src/gui/menu/level.tscn" id="8_jfl1k"]
|
||||
[ext_resource type="PackedScene" uid="uid://ya1ctigi23wa" path="res://assets/sign.tscn" id="9_akqv7"]
|
||||
[ext_resource type="PackedScene" uid="uid://ebmku7hq0mxi" path="res://assets/arrow_light_1.tscn" id="10_yb1cw"]
|
||||
[ext_resource type="PackedScene" uid="uid://da1mcxm6jcpbo" path="res://assets/arrow_light_2.tscn" id="11_mgaod"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0v3ix36w45d3" path="res://assets/arrow_light_3.tscn" id="12_j0q06"]
|
||||
[ext_resource type="Texture2D" uid="uid://bq151lkkfdlf4" path="res://assets/sign.png" id="13_e33im"]
|
||||
[ext_resource type="AudioStream" uid="uid://dh5jxxwim7ra8" path="res://assets/sounds/music/death_by_waveshaper.wav" id="13_oxrkp"]
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_ll8bj"]
|
||||
_data = {
|
||||
"points": PackedVector2Array(-96.196, 0.475433, 96.196, -0.475433, 59, -56, -741.668, -144.74, 741.668, 144.74, 1196, 82, -253.984, 228.586, 253.984, -228.586, 1965, -524, 449.284, 343.57, -449.284, -343.57, 2266, -1585, 402.196, -464.505, -402.196, 464.505, 442, -1151, 608.174, -596.459, -608.174, 596.459, -2760, -1320, -434.545, 151.194, 434.545, -151.194, -2086, 159, -428, -220, 428, 220, -810, -253, -102.358, -2.55713, 102.358, 2.55713, 59, -56)
|
||||
}
|
||||
point_count = 9
|
||||
|
||||
[node name="level4" type="Node2D" node_paths=PackedStringArray("path", "line", "player", "finish", "menu")]
|
||||
script = ExtResource("1_xp84j")
|
||||
starting_width = 400.0
|
||||
shrink_factor = 5.0
|
||||
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 = -13640.0
|
||||
offset_top = -10315.0
|
||||
offset_right = 43910.0
|
||||
offset_bottom = 33829.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_j3elp")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="Background" type="TextureRect" parent="."]
|
||||
self_modulate = Color(0.223529, 0.435294, 0.333333, 1)
|
||||
offset_left = -6505.0
|
||||
offset_top = -3355.0
|
||||
offset_right = 19845.0
|
||||
offset_bottom = 12825.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("3_k0pui")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="TrackPath" type="Path2D" parent="."]
|
||||
curve = SubResource("Curve2D_ll8bj")
|
||||
|
||||
[node name="TrackLine" type="Line2D" parent="."]
|
||||
self_modulate = Color(0.164706, 0.658824, 0.858824, 1)
|
||||
texture_repeat = 2
|
||||
texture = ExtResource("4_xxo63")
|
||||
texture_mode = 2
|
||||
begin_cap_mode = 2
|
||||
|
||||
[node name="FinishLine" type="Line2D" parent="."]
|
||||
texture_repeat = 2
|
||||
width = 40.0
|
||||
texture = ExtResource("5_oouov")
|
||||
texture_mode = 1
|
||||
begin_cap_mode = 2
|
||||
end_cap_mode = 2
|
||||
round_precision = 32
|
||||
antialiased = true
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("6_6tsse")]
|
||||
position = Vector2(27, -55)
|
||||
brake_strength = 800.0
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="hud" parent="CanvasLayer" instance=ExtResource("7_po1re")]
|
||||
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_jfl1k")]
|
||||
layout_mode = 1
|
||||
|
||||
[node name="Node2D2" type="Node2D" parent="."]
|
||||
|
||||
[node name="Sign" parent="Node2D2" instance=ExtResource("9_akqv7")]
|
||||
light_mask = 7
|
||||
position = Vector2(-7592, -6933)
|
||||
rotation = -0.451921
|
||||
scale = Vector2(36.1222, 29.4521)
|
||||
energy = 8.0
|
||||
|
||||
[node name="Arrow_light_1" parent="Node2D2" instance=ExtResource("10_yb1cw")]
|
||||
position = Vector2(-4310.93, -5419.8)
|
||||
rotation = 0.982893
|
||||
|
||||
[node name="Arrow_light_2" parent="Node2D2" instance=ExtResource("11_mgaod")]
|
||||
position = Vector2(-5393.93, -4898.8)
|
||||
rotation = 1.27233
|
||||
|
||||
[node name="Arrow_light_3" parent="Node2D2" instance=ExtResource("12_j0q06")]
|
||||
position = Vector2(-6857.93, -4664.8)
|
||||
rotation = 1.53565
|
||||
|
||||
[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_e33im")
|
||||
|
||||
[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_e33im")
|
||||
|
||||
[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_e33im")
|
||||
|
||||
[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_e33im")
|
||||
|
||||
[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_e33im")
|
||||
|
||||
[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_e33im")
|
||||
|
||||
[node name="level_music" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("13_oxrkp")
|
||||
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"]
|
180
src/game/levels/level_5.tscn
Normal file
180
src/game/levels/level_5.tscn
Normal file
|
@ -0,0 +1,180 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://0iraf0cxvcx"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/game/levels/level.gd" id="1_vvqms"]
|
||||
[ext_resource type="Texture2D" uid="uid://gjr7tbyrdo6e" path="res://assets/bkbg.png" id="2_xfu1a"]
|
||||
[ext_resource type="Texture2D" uid="uid://dio3rrptd6w7c" path="res://assets/bg_90_bk.png" id="3_r1vcl"]
|
||||
[ext_resource type="Texture2D" uid="uid://ds0un04pocx6i" path="res://assets/track_90_bk.png" id="4_cempk"]
|
||||
[ext_resource type="Texture2D" uid="uid://dmcrms0qu0mtt" path="res://assets/finish2.png" id="5_agf7l"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckau5s2tsb3oc" path="res://src/game/player.tscn" id="6_gxbqp"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdlbh3smpgg42" path="res://src/gui/hud/hud.tscn" id="7_qxitb"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0sexrwxdge73" path="res://src/gui/menu/level.tscn" id="8_sahcy"]
|
||||
[ext_resource type="PackedScene" uid="uid://ya1ctigi23wa" path="res://assets/sign.tscn" id="9_flw88"]
|
||||
[ext_resource type="PackedScene" uid="uid://ebmku7hq0mxi" path="res://assets/arrow_light_1.tscn" id="10_f0bu4"]
|
||||
[ext_resource type="PackedScene" uid="uid://da1mcxm6jcpbo" path="res://assets/arrow_light_2.tscn" id="11_q0kap"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0v3ix36w45d3" path="res://assets/arrow_light_3.tscn" id="12_vvwlt"]
|
||||
[ext_resource type="Texture2D" uid="uid://bq151lkkfdlf4" path="res://assets/sign.png" id="13_duqj2"]
|
||||
[ext_resource type="AudioStream" uid="uid://dh5jxxwim7ra8" path="res://assets/sounds/music/death_by_waveshaper.wav" id="14_0b3fb"]
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_ll8bj"]
|
||||
_data = {
|
||||
"points": PackedVector2Array(-96.196, 0.475433, 96.196, -0.475433, 59, -56, -310.835, -57.3972, 310.835, 57.3972, 1215, 26, -453.367, 203.28, 453.367, -203.28, 2495, 409, 332.244, 30.204, -332.244, -30.204, 2637, -201, -155.702, 309.016, 155.702, -309.016, 2516, -997, 429.125, 252.856, -429.125, -252.856, 2218, -1779, 250.033, -262.747, -250.033, 262.747, 1271, -1703, 586.196, -312.505, -586.196, 312.505, 490, -1073, 419.223, -10.7033, -419.223, 10.7033, -787, -1323, 296, 104, -296, -104, -1735, -761, 384, 88, -384, -88, -2319, -1665, 608.174, -596.459, -608.174, 596.459, -3659, -1168, -267.103, -327.579, 267.103, 327.579, -2504, 31, -393.095, -151.191, 393.095, 151.191, -1980, 1044, -272.143, -211.667, 272.143, 211.667, -826, 887, -1033.8, 63.5823, 1033.8, -63.5823, 51, 1563, 824.342, 15.1685, -824.342, -15.1685, 207, 741, 0.615967, 297.637, -0.615967, -297.637, -725, 353, -102.358, -2.55713, 102.358, 2.55713, 59, -56)
|
||||
}
|
||||
point_count = 19
|
||||
|
||||
[node name="level8" type="Node2D" node_paths=PackedStringArray("path", "line", "player", "finish", "menu")]
|
||||
script = ExtResource("1_vvqms")
|
||||
starting_width = 400.0
|
||||
shrink_factor = 5.0
|
||||
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 = -13640.0
|
||||
offset_top = -10315.0
|
||||
offset_right = 43910.0
|
||||
offset_bottom = 33829.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_xfu1a")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="Background" type="TextureRect" parent="."]
|
||||
self_modulate = Color(0.47451, 0.505882, 0.545098, 1)
|
||||
offset_left = -6505.0
|
||||
offset_top = -3355.0
|
||||
offset_right = 19845.0
|
||||
offset_bottom = 12825.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("3_r1vcl")
|
||||
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_cempk")
|
||||
texture_mode = 2
|
||||
begin_cap_mode = 2
|
||||
|
||||
[node name="FinishLine" type="Line2D" parent="."]
|
||||
texture_repeat = 2
|
||||
width = 40.0
|
||||
texture = ExtResource("5_agf7l")
|
||||
texture_mode = 1
|
||||
begin_cap_mode = 2
|
||||
end_cap_mode = 2
|
||||
round_precision = 32
|
||||
antialiased = true
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("6_gxbqp")]
|
||||
position = Vector2(27, -55)
|
||||
brake_strength = 800.0
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="hud" parent="CanvasLayer" instance=ExtResource("7_qxitb")]
|
||||
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_sahcy")]
|
||||
layout_mode = 1
|
||||
|
||||
[node name="Node2D2" type="Node2D" parent="."]
|
||||
|
||||
[node name="Sign" parent="Node2D2" instance=ExtResource("9_flw88")]
|
||||
light_mask = 7
|
||||
position = Vector2(-7592, -6933)
|
||||
rotation = -0.451921
|
||||
scale = Vector2(36.1222, 29.4521)
|
||||
energy = 8.0
|
||||
|
||||
[node name="Arrow_light_1" parent="Node2D2" instance=ExtResource("10_f0bu4")]
|
||||
position = Vector2(-4310.93, -5419.8)
|
||||
rotation = 0.982893
|
||||
|
||||
[node name="Arrow_light_2" parent="Node2D2" instance=ExtResource("11_q0kap")]
|
||||
position = Vector2(-5393.93, -4898.8)
|
||||
rotation = 1.27233
|
||||
|
||||
[node name="Arrow_light_3" parent="Node2D2" instance=ExtResource("12_vvwlt")]
|
||||
position = Vector2(-6857.93, -4664.8)
|
||||
rotation = 1.53565
|
||||
|
||||
[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_duqj2")
|
||||
|
||||
[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_duqj2")
|
||||
|
||||
[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_duqj2")
|
||||
|
||||
[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_duqj2")
|
||||
|
||||
[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_duqj2")
|
||||
|
||||
[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_duqj2")
|
||||
|
||||
[node name="level_music" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("14_0b3fb")
|
||||
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"]
|
181
src/game/levels/level_7.tscn
Normal file
181
src/game/levels/level_7.tscn
Normal file
|
@ -0,0 +1,181 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://bg8c7aoavskw7"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/game/levels/level.gd" id="1_3ie27"]
|
||||
[ext_resource type="Texture2D" uid="uid://gjr7tbyrdo6e" path="res://assets/bkbg.png" id="2_ylsok"]
|
||||
[ext_resource type="Texture2D" uid="uid://dio3rrptd6w7c" path="res://assets/bg_90_bk.png" id="3_b1kut"]
|
||||
[ext_resource type="Texture2D" uid="uid://ds0un04pocx6i" path="res://assets/track_90_bk.png" id="4_uorpt"]
|
||||
[ext_resource type="Texture2D" uid="uid://dmcrms0qu0mtt" path="res://assets/finish2.png" id="5_o7vp7"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckau5s2tsb3oc" path="res://src/game/player.tscn" id="6_1d3vu"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdlbh3smpgg42" path="res://src/gui/hud/hud.tscn" id="7_1n5kb"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0sexrwxdge73" path="res://src/gui/menu/level.tscn" id="8_5ew1h"]
|
||||
[ext_resource type="PackedScene" uid="uid://ya1ctigi23wa" path="res://assets/sign.tscn" id="9_fgy12"]
|
||||
[ext_resource type="PackedScene" uid="uid://ebmku7hq0mxi" path="res://assets/arrow_light_1.tscn" id="10_8tocd"]
|
||||
[ext_resource type="PackedScene" uid="uid://da1mcxm6jcpbo" path="res://assets/arrow_light_2.tscn" id="11_h7y8f"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0v3ix36w45d3" path="res://assets/arrow_light_3.tscn" id="12_cja5x"]
|
||||
[ext_resource type="Texture2D" uid="uid://bq151lkkfdlf4" path="res://assets/sign.png" id="13_y4l75"]
|
||||
[ext_resource type="AudioStream" uid="uid://dh5jxxwim7ra8" path="res://assets/sounds/music/death_by_waveshaper.wav" id="14_rk75r"]
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_ll8bj"]
|
||||
_data = {
|
||||
"points": PackedVector2Array(-96.196, 0.475433, 96.196, -0.475433, 59, -56, -688.811, -899.024, 688.811, 899.024, 2440, 1447, -181.224, 732.447, 181.224, -732.447, 4079, 1077, 332.244, 30.204, -332.244, -30.204, 3429, 367, -261.535, 409.81, 261.535, -409.81, 2976, -698, 449.284, 343.57, -449.284, -343.57, 2509, -1905, 250.033, -262.747, -250.033, 262.747, 1172, -1791, 586.196, -312.505, -586.196, 312.505, 591, -803, 419.223, -10.7033, -419.223, 10.7033, -787, -1323, 296, 104, -296, -104, -1735, -761, 384, 88, -384, -88, -2319, -1665, 608.174, -596.459, -608.174, 596.459, -3659, -1168, -927.962, -107.767, 927.962, 107.767, -3789, 1307, -672.445, 1007.99, 672.445, -1007.99, -1229, 1637, -226.17, 383.312, 226.17, -383.312, -645, 204, -102.358, -2.55713, 102.358, 2.55713, 59, -56)
|
||||
}
|
||||
point_count = 16
|
||||
|
||||
[node name="level7" type="Node2D" node_paths=PackedStringArray("path", "line", "player", "finish", "menu")]
|
||||
script = ExtResource("1_3ie27")
|
||||
starting_width = 400.0
|
||||
shrink_factor = 5.0
|
||||
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 = -13640.0
|
||||
offset_top = -10315.0
|
||||
offset_right = 43910.0
|
||||
offset_bottom = 33829.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_ylsok")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="Background" type="TextureRect" parent="."]
|
||||
self_modulate = Color(0.47451, 0.505882, 0.545098, 1)
|
||||
offset_left = -6505.0
|
||||
offset_top = -3355.0
|
||||
offset_right = 19845.0
|
||||
offset_bottom = 12825.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("3_b1kut")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="TrackPath" type="Path2D" parent="."]
|
||||
curve = SubResource("Curve2D_ll8bj")
|
||||
|
||||
[node name="TrackLine" type="Line2D" parent="."]
|
||||
self_modulate = Color(0.164706, 0.658824, 0.858824, 1)
|
||||
texture_repeat = 2
|
||||
texture = ExtResource("4_uorpt")
|
||||
texture_mode = 2
|
||||
begin_cap_mode = 2
|
||||
|
||||
[node name="FinishLine" type="Line2D" parent="."]
|
||||
texture_repeat = 2
|
||||
width = 40.0
|
||||
texture = ExtResource("5_o7vp7")
|
||||
texture_mode = 1
|
||||
begin_cap_mode = 2
|
||||
end_cap_mode = 2
|
||||
round_precision = 32
|
||||
antialiased = true
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("6_1d3vu")]
|
||||
position = Vector2(27, -55)
|
||||
brake_strength = 800.0
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="hud" parent="CanvasLayer" instance=ExtResource("7_1n5kb")]
|
||||
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_5ew1h")]
|
||||
layout_mode = 1
|
||||
|
||||
[node name="Node2D2" type="Node2D" parent="."]
|
||||
|
||||
[node name="Sign" parent="Node2D2" instance=ExtResource("9_fgy12")]
|
||||
light_mask = 7
|
||||
position = Vector2(-7592, -6933)
|
||||
rotation = -0.451921
|
||||
scale = Vector2(36.1222, 29.4521)
|
||||
energy = 8.0
|
||||
|
||||
[node name="Arrow_light_1" parent="Node2D2" instance=ExtResource("10_8tocd")]
|
||||
position = Vector2(-4310.93, -5419.8)
|
||||
rotation = 0.982893
|
||||
|
||||
[node name="Arrow_light_2" parent="Node2D2" instance=ExtResource("11_h7y8f")]
|
||||
position = Vector2(-5393.93, -4898.8)
|
||||
rotation = 1.27233
|
||||
|
||||
[node name="Arrow_light_3" parent="Node2D2" instance=ExtResource("12_cja5x")]
|
||||
position = Vector2(-6857.93, -4664.8)
|
||||
rotation = 1.53565
|
||||
|
||||
[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_y4l75")
|
||||
|
||||
[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_y4l75")
|
||||
|
||||
[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_y4l75")
|
||||
|
||||
[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_y4l75")
|
||||
|
||||
[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_y4l75")
|
||||
|
||||
[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_y4l75")
|
||||
|
||||
[node name="level_music" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("14_rk75r")
|
||||
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"]
|
182
src/game/levels/level_8.tscn
Normal file
182
src/game/levels/level_8.tscn
Normal file
|
@ -0,0 +1,182 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://bpkgprh2d7cqm"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/game/levels/level.gd" id="1_jw0gj"]
|
||||
[ext_resource type="Texture2D" uid="uid://gjr7tbyrdo6e" path="res://assets/bkbg.png" id="2_rpaqj"]
|
||||
[ext_resource type="Texture2D" uid="uid://dio3rrptd6w7c" path="res://assets/bg_90_bk.png" id="3_fufyn"]
|
||||
[ext_resource type="Texture2D" uid="uid://ds0un04pocx6i" path="res://assets/track_90_bk.png" id="4_xp835"]
|
||||
[ext_resource type="Texture2D" uid="uid://dmcrms0qu0mtt" path="res://assets/finish2.png" id="5_v76x8"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckau5s2tsb3oc" path="res://src/game/player.tscn" id="6_025ip"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdlbh3smpgg42" path="res://src/gui/hud/hud.tscn" id="7_oxuxe"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0sexrwxdge73" path="res://src/gui/menu/level.tscn" id="8_yko3k"]
|
||||
[ext_resource type="PackedScene" uid="uid://ya1ctigi23wa" path="res://assets/sign.tscn" id="9_xvmw0"]
|
||||
[ext_resource type="PackedScene" uid="uid://ebmku7hq0mxi" path="res://assets/arrow_light_1.tscn" id="10_jcafu"]
|
||||
[ext_resource type="PackedScene" uid="uid://da1mcxm6jcpbo" path="res://assets/arrow_light_2.tscn" id="11_f3ndu"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0v3ix36w45d3" path="res://assets/arrow_light_3.tscn" id="12_sardy"]
|
||||
[ext_resource type="Texture2D" uid="uid://bq151lkkfdlf4" path="res://assets/sign.png" id="13_oxsnp"]
|
||||
[ext_resource type="AudioStream" uid="uid://dh5jxxwim7ra8" path="res://assets/sounds/music/death_by_waveshaper.wav" id="14_214rv"]
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_ll8bj"]
|
||||
_data = {
|
||||
"points": PackedVector2Array(-96.196, 0.475433, 96.196, -0.475433, 59, -56, -374.075, -26.102, 374.075, 26.102, 840, -52, 32.0915, 181.224, -32.0915, -181.224, 1361, -461, 250.033, -262.747, -250.033, 262.747, 861, -901, 205.851, 8.29792, -205.851, -8.29792, 432, -705, 296, 104, -296, -104, -32, -945, 384, 88, -384, -88, -646, -882, -159.347, -140.083, 159.347, 140.083, -1010, -123, -102.358, -2.55713, 102.358, 2.55713, 59, -56)
|
||||
}
|
||||
point_count = 9
|
||||
|
||||
[node name="level8" type="Node2D" node_paths=PackedStringArray("path", "line", "player", "finish", "menu")]
|
||||
script = ExtResource("1_jw0gj")
|
||||
starting_width = 400.0
|
||||
shrink_factor = 5.0
|
||||
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 = -13640.0
|
||||
offset_top = -10315.0
|
||||
offset_right = 43910.0
|
||||
offset_bottom = 33829.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_rpaqj")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="Background" type="TextureRect" parent="."]
|
||||
modulate = Color(0.537255, 0.796078, 0.486275, 1)
|
||||
self_modulate = Color(0.47451, 0.505882, 0.545098, 1)
|
||||
offset_left = -6505.0
|
||||
offset_top = -3355.0
|
||||
offset_right = 19845.0
|
||||
offset_bottom = 12825.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("3_fufyn")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="TrackPath" type="Path2D" parent="."]
|
||||
curve = SubResource("Curve2D_ll8bj")
|
||||
|
||||
[node name="TrackLine" type="Line2D" parent="."]
|
||||
self_modulate = Color(0.509804, 0.262745, 1, 1)
|
||||
texture_repeat = 2
|
||||
texture = ExtResource("4_xp835")
|
||||
texture_mode = 2
|
||||
begin_cap_mode = 2
|
||||
|
||||
[node name="FinishLine" type="Line2D" parent="."]
|
||||
texture_repeat = 2
|
||||
width = 40.0
|
||||
texture = ExtResource("5_v76x8")
|
||||
texture_mode = 1
|
||||
begin_cap_mode = 2
|
||||
end_cap_mode = 2
|
||||
round_precision = 32
|
||||
antialiased = true
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("6_025ip")]
|
||||
position = Vector2(27, -55)
|
||||
brake_strength = 800.0
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="hud" parent="CanvasLayer" instance=ExtResource("7_oxuxe")]
|
||||
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_yko3k")]
|
||||
layout_mode = 1
|
||||
|
||||
[node name="Node2D2" type="Node2D" parent="."]
|
||||
|
||||
[node name="Sign" parent="Node2D2" instance=ExtResource("9_xvmw0")]
|
||||
light_mask = 7
|
||||
position = Vector2(-7592, -6933)
|
||||
rotation = -0.451921
|
||||
scale = Vector2(36.1222, 29.4521)
|
||||
energy = 8.0
|
||||
|
||||
[node name="Arrow_light_1" parent="Node2D2" instance=ExtResource("10_jcafu")]
|
||||
position = Vector2(-4310.93, -5419.8)
|
||||
rotation = 0.982893
|
||||
|
||||
[node name="Arrow_light_2" parent="Node2D2" instance=ExtResource("11_f3ndu")]
|
||||
position = Vector2(-5393.93, -4898.8)
|
||||
rotation = 1.27233
|
||||
|
||||
[node name="Arrow_light_3" parent="Node2D2" instance=ExtResource("12_sardy")]
|
||||
position = Vector2(-6857.93, -4664.8)
|
||||
rotation = 1.53565
|
||||
|
||||
[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_oxsnp")
|
||||
|
||||
[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_oxsnp")
|
||||
|
||||
[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_oxsnp")
|
||||
|
||||
[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_oxsnp")
|
||||
|
||||
[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_oxsnp")
|
||||
|
||||
[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_oxsnp")
|
||||
|
||||
[node name="level_music" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("14_214rv")
|
||||
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"]
|
Loading…
Reference in a new issue