-
Notifications
You must be signed in to change notification settings - Fork 1
/
Item.tscn
51 lines (38 loc) · 1.29 KB
/
Item.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
43
44
45
46
47
48
49
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Item.gd" type="Script" id=1]
[ext_resource path="res://assets/items/p_idle_0.png" type="Texture" id=2]
[ext_resource path="res://assets/items/p_idle_1.png" type="Texture" id=3]
[ext_resource path="res://assets/items/p_idle_2.png" type="Texture" id=4]
[ext_resource path="res://assets/items/p_idle_3.png" type="Texture" id=5]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ) ],
"loop": true,
"name": "item1",
"speed": 4.0
} ]
_sections_unfolded = [ "Resource" ]
[sub_resource type="CircleShape2D" id=2]
custom_solver_bias = 0.0
radius = 10.0
[node name="item" type="StaticBody2D"]
position = Vector2( 64.1607, 46.6782 )
input_pickable = false
collision_layer = 1
collision_mask = 1
constant_linear_velocity = Vector2( 0, 0 )
constant_angular_velocity = 0.0
friction = 1.0
bounce = 0.0
script = ExtResource( 1 )
_sections_unfolded = [ "Visibility" ]
__meta__ = {
"_edit_group_": true
}
[node name="AnimatedSprite" type="AnimatedSprite" parent="." index="0"]
frames = SubResource( 1 )
animation = "item1"
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="1"]
position = Vector2( -3.14685, -1.57343 )
shape = SubResource( 2 )