diff --git a/assets/arrow_light_1.tscn b/assets/arrow_light_1.tscn new file mode 100644 index 0000000..daa9495 --- /dev/null +++ b/assets/arrow_light_1.tscn @@ -0,0 +1,7 @@ +[gd_scene load_steps=2 format=3 uid="uid://ebmku7hq0mxi"] + +[ext_resource type="Texture2D" uid="uid://chuflb4e2m1lf" path="res://assets/arrow1x.png" id="1_lbcsu"] + +[node name="Arrow_light_1" type="PointLight2D"] +energy = 8.0 +texture = ExtResource("1_lbcsu") diff --git a/assets/arrow_light_2.tscn b/assets/arrow_light_2.tscn new file mode 100644 index 0000000..4c232a6 --- /dev/null +++ b/assets/arrow_light_2.tscn @@ -0,0 +1,7 @@ +[gd_scene load_steps=2 format=3 uid="uid://da1mcxm6jcpbo"] + +[ext_resource type="Texture2D" uid="uid://5i42d5kg0dby" path="res://assets/arrow2x.png" id="1_vtm46"] + +[node name="Arrow_light_1" type="PointLight2D"] +energy = 8.0 +texture = ExtResource("1_vtm46") diff --git a/assets/arrow_light_3.tscn b/assets/arrow_light_3.tscn new file mode 100644 index 0000000..db5b6df --- /dev/null +++ b/assets/arrow_light_3.tscn @@ -0,0 +1,7 @@ +[gd_scene load_steps=2 format=3 uid="uid://c0v3ix36w45d3"] + +[ext_resource type="Texture2D" uid="uid://ck32iitxfa5vm" path="res://assets/arrow3x.png" id="1_lqw8i"] + +[node name="Arrow_light_1" type="PointLight2D"] +energy = 8.0 +texture = ExtResource("1_lqw8i") diff --git a/assets/bkbg.png b/assets/bkbg.png new file mode 100644 index 0000000..3dd162d Binary files /dev/null and b/assets/bkbg.png differ diff --git a/assets/bkbg.png.import b/assets/bkbg.png.import new file mode 100644 index 0000000..92175d0 --- /dev/null +++ b/assets/bkbg.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://gjr7tbyrdo6e" +path="res://.godot/imported/bkbg.png-35fa65786adfd0a397b889e85db3bd94.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/bkbg.png" +dest_files=["res://.godot/imported/bkbg.png-35fa65786adfd0a397b889e85db3bd94.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/src/game/sign.tscn b/assets/sign.tscn similarity index 100% rename from src/game/sign.tscn rename to assets/sign.tscn diff --git a/src/game/levels/level_1.tscn b/src/game/levels/level_1.tscn index c00a96d..9af2f41 100644 --- a/src/game/levels/level_1.tscn +++ b/src/game/levels/level_1.tscn @@ -1,14 +1,19 @@ -[gd_scene load_steps=11 format=3 uid="uid://c77xk0mywwt5f"] +[gd_scene load_steps=16 format=3 uid="uid://c77xk0mywwt5f"] [ext_resource type="Script" path="res://src/game/levels/level.gd" id="1_s3rsn"] +[ext_resource type="Texture2D" uid="uid://gjr7tbyrdo6e" path="res://assets/bkbg.png" id="2_4qg8j"] [ext_resource type="Texture2D" uid="uid://dio3rrptd6w7c" path="res://assets/bg_90_bk.png" id="2_57sr6"] [ext_resource type="Texture2D" uid="uid://ds0un04pocx6i" path="res://assets/track_90_bk.png" id="3_en5wc"] [ext_resource type="Texture2D" uid="uid://dmcrms0qu0mtt" path="res://assets/finish2.png" id="4_qeube"] [ext_resource type="PackedScene" uid="uid://ckau5s2tsb3oc" path="res://src/game/player.tscn" id="5_2n8nj"] -[ext_resource type="PackedScene" uid="uid://c0sexrwxdge73" path="res://src/gui/menu/level.tscn" id="6_hs25h"] +[ext_resource type="PackedScene" uid="uid://dyo5dblkfivwn" path="res://src/gui/menu/level.tscn" id="6_hs25h"] [ext_resource type="PackedScene" uid="uid://cdlbh3smpgg42" path="res://src/gui/hud/hud.tscn" id="6_r1i0q"] [ext_resource type="Texture2D" uid="uid://bq151lkkfdlf4" path="res://assets/sign.png" id="7_xmahe"] +[ext_resource type="PackedScene" uid="uid://ya1ctigi23wa" path="res://assets/sign.tscn" id="8_i27bq"] [ext_resource type="AudioStream" uid="uid://dh5jxxwim7ra8" path="res://assets/sounds/music/death_by_waveshaper.wav" id="8_qlkhp"] +[ext_resource type="PackedScene" uid="uid://ebmku7hq0mxi" path="res://assets/arrow_light_1.tscn" id="9_om2g6"] +[ext_resource type="PackedScene" uid="uid://da1mcxm6jcpbo" path="res://assets/arrow_light_2.tscn" id="10_2qtjd"] +[ext_resource type="PackedScene" uid="uid://c0v3ix36w45d3" path="res://assets/arrow_light_3.tscn" id="11_4skqd"] [sub_resource type="Curve2D" id="Curve2D_ll8bj"] _data = { @@ -26,7 +31,18 @@ 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_4qg8j") +stretch_mode = 1 + [node name="Background" type="TextureRect" parent="."] +visible = false self_modulate = Color(0.827451, 0.521569, 0.313726, 1) offset_left = -6505.0 offset_top = -3355.0 @@ -83,7 +99,29 @@ grow_vertical = 2 [node name="level" parent="CanvasLayer/menu_box" instance=ExtResource("6_hs25h")] layout_mode = 1 +[node name="Node2D2" type="Node2D" parent="."] + +[node name="Sign" parent="Node2D2" instance=ExtResource("8_i27bq")] +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("9_om2g6")] +position = Vector2(-4310.93, -5419.8) +rotation = 0.982893 + +[node name="Arrow_light_2" parent="Node2D2" instance=ExtResource("10_2qtjd")] +position = Vector2(-5393.93, -4898.8) +rotation = 1.27233 + +[node name="Arrow_light_3" parent="Node2D2" instance=ExtResource("11_4skqd")] +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) diff --git a/src/game/levels/level_2.tscn b/src/game/levels/level_2.tscn index 062f370..94d9d8e 100644 --- a/src/game/levels/level_2.tscn +++ b/src/game/levels/level_2.tscn @@ -1,14 +1,18 @@ -[gd_scene load_steps=11 format=3 uid="uid://c4rvmgnixp6ap"] +[gd_scene load_steps=15 format=3 uid="uid://c4dloid4y3of3"] [ext_resource type="Script" path="res://src/game/levels/level.gd" id="1_ijrq0"] [ext_resource type="Texture2D" uid="uid://dio3rrptd6w7c" path="res://assets/bg_90_bk.png" id="2_tghpu"] +[ext_resource type="Texture2D" uid="uid://gjr7tbyrdo6e" path="res://assets/bkbg.png" id="2_ugncc"] [ext_resource type="Texture2D" uid="uid://ds0un04pocx6i" path="res://assets/track_90_bk.png" id="3_m80eb"] [ext_resource type="Texture2D" uid="uid://dmcrms0qu0mtt" path="res://assets/finish2.png" id="4_1w2e5"] [ext_resource type="PackedScene" uid="uid://ckau5s2tsb3oc" path="res://src/game/player.tscn" id="5_4d0xw"] [ext_resource type="PackedScene" uid="uid://cdlbh3smpgg42" path="res://src/gui/hud/hud.tscn" id="6_tmqkf"] -[ext_resource type="PackedScene" uid="uid://c0sexrwxdge73" path="res://src/gui/menu/level.tscn" id="7_bv3bp"] +[ext_resource type="PackedScene" uid="uid://dyo5dblkfivwn" path="res://src/gui/menu/level.tscn" id="7_bv3bp"] [ext_resource type="AudioStream" uid="uid://dh5jxxwim7ra8" path="res://assets/sounds/music/death_by_waveshaper.wav" id="9_vi54e"] -[ext_resource type="PackedScene" path="res://src/game/sign.tscn" id="10_q5p01"] +[ext_resource type="PackedScene" uid="uid://da1mcxm6jcpbo" path="res://assets/arrow_light_2.tscn" id="10_k8jma"] +[ext_resource type="PackedScene" uid="uid://ebmku7hq0mxi" path="res://assets/arrow_light_1.tscn" id="10_pjhii"] +[ext_resource type="PackedScene" uid="uid://ya1ctigi23wa" path="res://assets/sign.tscn" id="10_q5p01"] +[ext_resource type="PackedScene" uid="uid://c0v3ix36w45d3" path="res://assets/arrow_light_3.tscn" id="11_t72nj"] [sub_resource type="Curve2D" id="Curve2D_ll8bj"] _data = { @@ -26,7 +30,18 @@ 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 = -10462.0 +offset_top = -14103.0 +offset_right = 47088.0 +offset_bottom = 30041.0 +scale = Vector2(0.5, 0.5) +texture = ExtResource("2_ugncc") +stretch_mode = 1 + [node name="Background" type="TextureRect" parent="."] +visible = false self_modulate = Color(0.0313726, 0.737255, 0, 1) offset_left = -10462.0 offset_top = -14103.0 @@ -87,8 +102,22 @@ layout_mode = 1 [node name="Sign" parent="Node2D" instance=ExtResource("10_q5p01")] light_mask = 7 -position = Vector2(-2547, 1580) -rotation = -1.50684 +position = Vector2(-8430, -12571) +rotation = -0.451921 +scale = Vector2(36.1222, 29.4521) +energy = 8.0 + +[node name="Arrow_light_1" parent="Node2D" instance=ExtResource("10_pjhii")] +position = Vector2(2813, -771) +rotation = 0.982893 + +[node name="Arrow_light_2" parent="Node2D" instance=ExtResource("10_k8jma")] +position = Vector2(1730, -250) +rotation = 1.27233 + +[node name="Arrow_light_3" parent="Node2D" instance=ExtResource("11_t72nj")] +position = Vector2(266, -16) +rotation = 1.53565 [node name="level_music" type="AudioStreamPlayer" parent="."] stream = ExtResource("9_vi54e")