-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplayer_controller.tscn
More file actions
27 lines (21 loc) · 986 Bytes
/
player_controller.tscn
File metadata and controls
27 lines (21 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[gd_scene load_steps=3 format=3 uid="uid://cq0tswk0s3h8g"]
[ext_resource type="Script" uid="uid://c6lcutxmhr68v" path="res://PlayerController.cs" id="1_lvefo"]
[ext_resource type="PackedScene" uid="uid://700taqpoelhv" path="res://racer.tscn" id="2_f0yg5"]
[node name="PlayerController" type="Node2D" node_paths=PackedStringArray("Player", "_cam", "_indicatorLine", "_turnLine")]
script = ExtResource("1_lvefo")
Player = NodePath("CharacterBody2D")
_cam = NodePath("CharacterBody2D/Camera2D")
_indicatorLine = NodePath("Indicator")
_turnLine = NodePath("Turn")
[node name="CharacterBody2D" parent="." instance=ExtResource("2_f0yg5")]
z_index = 1
[node name="Camera2D" type="Camera2D" parent="CharacterBody2D"]
ignore_rotation = false
zoom = Vector2(1.81, 1.81)
[node name="Turn" type="Line2D" parent="."]
z_index = -1
width = 4.0
default_color = Color(0.356973, 0.82, 0.1886, 1)
[node name="Indicator" type="Line2D" parent="."]
width = 2.0
default_color = Color(0.13, 1, 0.855, 1)