-
Notifications
You must be signed in to change notification settings - Fork 1
/
Spaceship.tscn
44 lines (31 loc) · 992 Bytes
/
Spaceship.tscn
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Spaceship.gd" type="Script" id=1]
[ext_resource path="res://assets/art/spaceship.png" type="Texture" id=2]
[ext_resource path="res://assets/art/spaceship-trust.png" type="Texture" id=3]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="CircleShape2D" id=2]
custom_solver_bias = 0.0
radius = 23.7355
[node name="Spaceship" type="KinematicBody2D"]
input_pickable = false
collision_layer = 1
collision_mask = 1
collision/safe_margin = 0.08
script = ExtResource( 1 )
_sections_unfolded = [ "Collision", "Transform" ]
__meta__ = {
"_edit_group_": true
}
speed = 0
rotation_speed = 2.5
[node name="Sprite" type="AnimatedSprite" parent="." index="0"]
frames = SubResource( 1 )
animation = "default"
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="1"]
shape = SubResource( 2 )