added bg, moved car a lil
This commit is contained in:
parent
837408aaa3
commit
b98c3fa851
3 changed files with 48 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://c77xk0mywwt5f"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://c77xk0mywwt5f"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/game/level.gd" id="1_hv75i"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckau5s2tsb3oc" path="res://src/game/player.tscn" id="2_5nf51"]
|
||||
[ext_resource type="Texture2D" uid="uid://bd0jqkgq1gh7p" path="res://assets/track.png" id="2_knecs"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdlbh3smpgg42" path="res://src/game/hud.tscn" id="2_w64nx"]
|
||||
[ext_resource type="Texture2D" uid="uid://cd7bqj3v0k8yi" path="res://assets/finish.png" id="4_r6pvu"]
|
||||
[ext_resource type="Texture2D" uid="uid://df7avgwk5ggx" path="res://assets/bg.png" id="6_8waul"]
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_ll8bj"]
|
||||
_data = {
|
||||
|
@ -21,6 +22,16 @@ line = NodePath("TrackLine")
|
|||
player = NodePath("player")
|
||||
finish = NodePath("FinishLine")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
self_modulate = Color(0.93212, 0.807108, 0.728746, 1)
|
||||
offset_left = -6505.0
|
||||
offset_top = -3355.0
|
||||
offset_right = 19845.0
|
||||
offset_bottom = 12825.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("6_8waul")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="TrackPath" type="Path2D" parent="."]
|
||||
curve = SubResource("Curve2D_ll8bj")
|
||||
|
||||
|
@ -28,6 +39,7 @@ curve = SubResource("Curve2D_ll8bj")
|
|||
texture_repeat = 2
|
||||
texture = ExtResource("2_knecs")
|
||||
texture_mode = 2
|
||||
begin_cap_mode = 2
|
||||
|
||||
[node name="FinishLine" type="Line2D" parent="."]
|
||||
texture_repeat = 2
|
||||
|
@ -35,7 +47,7 @@ texture = ExtResource("4_r6pvu")
|
|||
texture_mode = 1
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("2_5nf51")]
|
||||
position = Vector2(42.7545, -14.9219)
|
||||
position = Vector2(27, -55)
|
||||
brake_strength = 800.0
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue