metz' changes (#1)

Co-authored-by: Metzkermeister <apps@metzkermeister.de>
Reviewed-on: #1
Co-authored-by: mtrx <mtrx@noreply.git.snrd.eu>
Co-committed-by: mtrx <mtrx@noreply.git.snrd.eu>
This commit is contained in:
mtrx 2023-10-01 21:55:53 +02:00 committed by Gitea
parent 687604fc05
commit 17085c5148
Signed by: Forgejo
GPG key ID: 5A09F9506519E10A
12 changed files with 187 additions and 7 deletions

BIN
assets/v_light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

34
assets/v_light.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bva8vs42tx03s"
path="res://.godot/imported/v_light.png-7acf5f641671ba7235dbbd4787595e37.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/v_light.png"
dest_files=["res://.godot/imported/v_light.png-7acf5f641671ba7235dbbd4787595e37.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

BIN
assets/v_light2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c2ldu662bhlhh"
path="res://.godot/imported/v_light2.png-ab361c7de69a8dec4185215e9529c3e8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/v_light2.png"
dest_files=["res://.godot/imported/v_light2.png-ab361c7de69a8dec4185215e9529c3e8.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

BIN
assets/vehicle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

34
assets/vehicle.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bnyyk81dhy3h2"
path="res://.godot/imported/vehicle.png-a41cb91fcab998de7698162333ee5bc9.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/vehicle.png"
dest_files=["res://.godot/imported/vehicle.png-a41cb91fcab998de7698162333ee5bc9.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

BIN
assets/vehicle2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bx4nammvn7hea"
path="res://.godot/imported/vehicle2.png-bb7df5e942f0854be95e87da75ff4526.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/vehicle2.png"
dest_files=["res://.godot/imported/vehicle2.png-bb7df5e942f0854be95e87da75ff4526.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

BIN
assets/vehicle3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c5lucllx2m3il"
path="res://.godot/imported/vehicle3.png-78502c74c095c869a85b7e51e89120ab.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/vehicle3.png"
dest_files=["res://.godot/imported/vehicle3.png-78502c74c095c869a85b7e51e89120ab.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

View file

@ -38,14 +38,13 @@ stretch_mode = 1
curve = SubResource("Curve2D_ll8bj") curve = SubResource("Curve2D_ll8bj")
[node name="TrackLine" type="Line2D" parent="."] [node name="TrackLine" type="Line2D" parent="."]
self_modulate = Color(0.827451, 0.521569, 0.313726, 1) self_modulate = Color(0.164706, 0.658824, 0.858824, 1)
texture_repeat = 2 texture_repeat = 2
texture = ExtResource("3_jtw40") texture = ExtResource("3_jtw40")
texture_mode = 2 texture_mode = 2
begin_cap_mode = 2 begin_cap_mode = 2
[node name="FinishLine" type="Line2D" parent="."] [node name="FinishLine" type="Line2D" parent="."]
self_modulate = Color(0.827451, 0.521569, 0.313726, 1)
texture_repeat = 2 texture_repeat = 2
width = 40.0 width = 40.0
texture = ExtResource("4_rxurh") texture = ExtResource("4_rxurh")

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=8 format=3 uid="uid://ckau5s2tsb3oc"] [gd_scene load_steps=8 format=3 uid="uid://ckau5s2tsb3oc"]
[ext_resource type="Script" path="res://src/game/player_controller.gd" id="1_g4ij8"] [ext_resource type="Script" path="res://src/game/player_controller.gd" id="1_g4ij8"]
[ext_resource type="Texture2D" uid="uid://d1t1g7hyil82v" path="res://assets/spracer.png" id="2_xal47"] [ext_resource type="Texture2D" uid="uid://bx4nammvn7hea" path="res://assets/vehicle2.png" id="2_ifw0w"]
[ext_resource type="Texture2D" uid="uid://c2ldu662bhlhh" path="res://assets/v_light2.png" id="2_velje"]
[ext_resource type="Texture2D" uid="uid://ceqcsof04vhqs" path="res://assets/light.png" id="3_qosw5"] [ext_resource type="Texture2D" uid="uid://ceqcsof04vhqs" path="res://assets/light.png" id="3_qosw5"]
[ext_resource type="AudioStream" uid="uid://cc4ffx6b0xjvk" path="res://assets/sounds/sfx/engine_loop.wav" id="4_4ajo8"] [ext_resource type="AudioStream" uid="uid://cc4ffx6b0xjvk" path="res://assets/sounds/sfx/engine_loop.wav" id="4_4ajo8"]
[ext_resource type="AudioStream" uid="uid://c7laud048l1is" path="res://assets/sounds/sfx/damage.wav" id="5_rvolc"] [ext_resource type="AudioStream" uid="uid://c7laud048l1is" path="res://assets/sounds/sfx/damage.wav" id="5_rvolc"]
@ -18,14 +19,24 @@ drift_factor = 1.2
camera_offset = 200.0 camera_offset = 200.0
camera = NodePath("Camera2D") camera = NodePath("Camera2D")
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="player_light" type="PointLight2D" parent="."]
position = Vector2(0, 3.09944e-05) position = Vector2(0, 3.09944e-05)
rotation = 1.5708 rotation = 1.5708
scale = Vector2(0.0489796, 0.0489796) scale = Vector2(0.1, 0.1)
texture = ExtResource("2_xal47") energy = 5.0
range_item_cull_mask = 3
texture = ExtResource("2_velje")
[node name="PointLight2D" type="PointLight2D" parent="."] [node name="Playermodel" type="Sprite2D" parent="."]
light_mask = 4
position = Vector2(0, 3.09944e-05)
rotation = 1.5708 rotation = 1.5708
scale = Vector2(0.1, 0.1)
texture = ExtResource("2_ifw0w")
[node name="vignette_light" type="PointLight2D" parent="."]
rotation = 1.5708
range_item_cull_mask = 7
texture = ExtResource("3_qosw5") texture = ExtResource("3_qosw5")
texture_scale = 3.5 texture_scale = 3.5