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

View file

@ -38,14 +38,13 @@ stretch_mode = 1
curve = SubResource("Curve2D_ll8bj")
[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 = ExtResource("3_jtw40")
texture_mode = 2
begin_cap_mode = 2
[node name="FinishLine" type="Line2D" parent="."]
self_modulate = Color(0.827451, 0.521569, 0.313726, 1)
texture_repeat = 2
width = 40.0
texture = ExtResource("4_rxurh")

View file

@ -1,7 +1,8 @@
[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="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="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"]
@ -18,14 +19,24 @@ drift_factor = 1.2
camera_offset = 200.0
camera = NodePath("Camera2D")
[node name="Sprite2D" type="Sprite2D" parent="."]
[node name="player_light" type="PointLight2D" parent="."]
position = Vector2(0, 3.09944e-05)
rotation = 1.5708
scale = Vector2(0.0489796, 0.0489796)
texture = ExtResource("2_xal47")
scale = Vector2(0.1, 0.1)
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
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_scale = 3.5