aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes/car.tscn
blob: c3eb2a6810f8a7ccc52ae64795e3efd4cdbe4488 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[gd_scene load_steps=4 format=3 uid="uid://c1mvbh2fwqtkb"]

[ext_resource type="Script" path="res://Scripts/car_behaviour.gd" id="1_0e4ux"]
[ext_resource type="Texture2D" uid="uid://cjb81lukqo6n4" path="res://Assets/Images/car2.png" id="2_wteha"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_wvlyu"]
size = Vector2(32, 14)

[node name="Car" type="CharacterBody2D"]
script = ExtResource("1_0e4ux")

[node name="Sprite2D" type="Sprite2D" parent="."]
visible = false
rotation = 1.5708
texture = ExtResource("2_wteha")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_wvlyu")