prefabs for light arrows, added a bg for easy editing, moved sign to assets
This commit is contained in:
parent
6495ab6ea5
commit
fd1164b2f6
8 changed files with 129 additions and 7 deletions
7
assets/arrow_light_1.tscn
Normal file
7
assets/arrow_light_1.tscn
Normal file
|
@ -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")
|
7
assets/arrow_light_2.tscn
Normal file
7
assets/arrow_light_2.tscn
Normal file
|
@ -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")
|
7
assets/arrow_light_3.tscn
Normal file
7
assets/arrow_light_3.tscn
Normal file
|
@ -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")
|
BIN
assets/bkbg.png
Normal file
BIN
assets/bkbg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 495 B |
34
assets/bkbg.png.import
Normal file
34
assets/bkbg.png.import
Normal file
|
@ -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
|
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue