41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://sprites/car.png" type="Texture" id=1]
|
|
[ext_resource path="res://Shattered2.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="AtlasTexture" id=7]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 0, 0, 124, 91 )
|
|
|
|
[sub_resource type="AtlasTexture" id=8]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 124, 0, 124, 91 )
|
|
|
|
[sub_resource type="AtlasTexture" id=9]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 248, 0, 124, 91 )
|
|
|
|
[sub_resource type="AtlasTexture" id=10]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 372, 0, 124, 91 )
|
|
|
|
[sub_resource type="SpriteFrames" id=5]
|
|
animations = [ {
|
|
"frames": [ SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ) ],
|
|
"loop": true,
|
|
"name": "default",
|
|
"speed": 5.0
|
|
} ]
|
|
|
|
[sub_resource type="RectangleShape2D" id=6]
|
|
extents = Vector2( 62, 46 )
|
|
|
|
[node name="Shattered2" type="StaticBody2D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
frames = SubResource( 5 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 6 )
|