added lights, track texture

This commit is contained in:
Metzkermeister 2023-10-01 15:10:32 +02:00
parent 8f9ad6f87c
commit 2dcd561dbc
9 changed files with 117 additions and 6 deletions

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=4 format=3 uid="uid://ckau5s2tsb3oc"]
[gd_scene load_steps=5 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://ceqcsof04vhqs" path="res://assets/light.png" id="3_qosw5"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_w2nj7"]
size = Vector2(36, 20)
@ -20,10 +21,18 @@ rotation = 1.5708
scale = Vector2(0.0489796, 0.0489796)
texture = ExtResource("2_xal47")
[node name="PointLight2D" type="PointLight2D" parent="."]
rotation = 1.5708
texture = ExtResource("3_qosw5")
texture_scale = 3.5
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-1, 0)
shape = SubResource("RectangleShape2D_w2nj7")
[node name="CanvasModulate" type="CanvasModulate" parent="."]
color = Color(0.0784314, 0.0784314, 0.0784314, 1)
[node name="Camera2D" type="Camera2D" parent="."]
rotation = 1.5708
ignore_rotation = false