You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
1.3 KiB

[gd_scene load_steps=10 format=2]
[ext_resource path="res://Scripts/Car.gd" type="Script" id=1]
[ext_resource path="res://Sprites/alistair/car-full-1.png" type="Texture" id=2]
[ext_resource path="res://Sprites/alistair/car-full-2.png" type="Texture" id=3]
[ext_resource path="res://Sprites/alistair/car-full.png" type="Texture" id=4]
[ext_resource path="res://Sprites/alistair/car-full-3.png" type="Texture" id=5]
[ext_resource path="res://Sprites/alistair/car-fulla.png" type="Texture" id=8]
[ext_resource path="res://Sprites/alistair/car-full-1a.png" type="Texture" id=9]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 4 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 5 ) ],
"loop": true,
"name": "default",
"speed": 5.0
}, {
"frames": [ ExtResource( 8 ), ExtResource( 9 ), ExtResource( 3 ), ExtResource( 5 ) ],
"loop": true,
"name": "Accelerate",
"speed": 12.0
} ]
[sub_resource type="CapsuleShape2D" id=2]
radius = 26.0
height = 236.0
[node name="Car" type="KinematicBody2D"]
script = ExtResource( 1 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 0, -42 )
frames = SubResource( 1 )
animation = "Accelerate"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 3 )
rotation = 1.5708
shape = SubResource( 2 )