-
Notifications
You must be signed in to change notification settings - Fork 2
/
Potato.tscn
42 lines (35 loc) · 1.29 KB
/
Potato.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=10 format=2]
[ext_resource path="res://Sprites/potato5.png" type="Texture" id=1]
[ext_resource path="res://Sprites/potato6.png" type="Texture" id=2]
[ext_resource path="res://Sprites/potato2.png" type="Texture" id=3]
[ext_resource path="res://Sprites/potato4.png" type="Texture" id=4]
[ext_resource path="res://Sprites/potato1.png" type="Texture" id=5]
[ext_resource path="res://Sprites/potato3.png" type="Texture" id=6]
[ext_resource path="res://Potato.gd" type="Script" id=7]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 5 ), ExtResource( 3 ), ExtResource( 6 ), ExtResource( 4 ), ExtResource( 1 ), ExtResource( 2 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="CircleShape2D" id=2]
radius = 14.0
[node name="Potato" type="RigidBody2D" groups=["mobs"]]
position = Vector2( 269, 162 )
collision_layer = 6
collision_mask = 6
gravity_scale = 0.0
script = ExtResource( 7 )
__meta__ = {
"_edit_group_": true
}
[node name="Potato" type="AnimatedSprite" parent="."]
frames = SubResource( 1 )
frame = 4
playing = true
[node name="PotatoCollision" type="CollisionShape2D" parent="."]
position = Vector2( 0, -1 )
shape = SubResource( 2 )
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
scale = Vector2( 0.7, 0.75 )