[gd_scene load_steps=14 format=3 uid="uid://b584vtyouaijk"]

[ext_resource type="Script" path="res://scripts/car.gd" id="1_8tph7"]
[ext_resource type="Texture2D" uid="uid://oqahvvfnkpnm" path="res://assets/cars/car01/sprites.png" id="1_d6ty7"]

[sub_resource type="AtlasTexture" id="AtlasTexture_af1ee"]
atlas = ExtResource("1_d6ty7")
region = Rect2(0, 1345, 477, 269)

[sub_resource type="AtlasTexture" id="AtlasTexture_2rnss"]
atlas = ExtResource("1_d6ty7")
region = Rect2(0, 1345, 477, 269)

[sub_resource type="AtlasTexture" id="AtlasTexture_73yi3"]
atlas = ExtResource("1_d6ty7")
region = Rect2(0, 807, 477, 269)

[sub_resource type="AtlasTexture" id="AtlasTexture_mqdpn"]
atlas = ExtResource("1_d6ty7")
region = Rect2(0, 1883, 477, 269)

[sub_resource type="AtlasTexture" id="AtlasTexture_g06uk"]
atlas = ExtResource("1_d6ty7")
region = Rect2(0, 1345, 477, 269)

[sub_resource type="AtlasTexture" id="AtlasTexture_g1j3b"]
atlas = ExtResource("1_d6ty7")
region = Rect2(0, 538, 477, 269)

[sub_resource type="AtlasTexture" id="AtlasTexture_nc0tg"]
atlas = ExtResource("1_d6ty7")
region = Rect2(0, 1614, 477, 269)

[sub_resource type="AtlasTexture" id="AtlasTexture_wg6ew"]
atlas = ExtResource("1_d6ty7")
region = Rect2(0, 0, 477, 269)

[sub_resource type="AtlasTexture" id="AtlasTexture_vgy37"]
atlas = ExtResource("1_d6ty7")
region = Rect2(0, 1076, 477, 269)

[sub_resource type="SpriteFrames" id="SpriteFrames_xun5y"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_af1ee")
}],
"loop": true,
"name": &"running",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_2rnss")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_73yi3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mqdpn")
}],
"loop": true,
"name": &"stop",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_g06uk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g1j3b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nc0tg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wg6ew")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vgy37")
}],
"loop": true,
"name": &"turn_left",
"speed": 5.0
}]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_wkntf"]
size = Vector2(265, 266)

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

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(0, -134)
sprite_frames = SubResource("SpriteFrames_xun5y")
animation = &"running"

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-40.5, -135)
shape = SubResource("RectangleShape2D_wkntf")
