-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTreeRed.tscn
51 lines (40 loc) · 1.48 KB
/
TreeRed.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
50
51
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Tree.gd" type="Script" id=1]
[ext_resource path="res://Interactable.tscn" type="PackedScene" id=2]
[ext_resource path="res://RPGpack_sheet_32x32.png" type="Texture" id=3]
[sub_resource type="Animation" id=1]
resource_name = "Shake"
length = 0.6
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:rotation_degrees")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0.0962424, 0.202475, 0.300333, 0.4, 0.501193 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ -5.0, 5.0, -5.0, 5.0, 0.0 ]
}
[sub_resource type="CircleShape2D" id=2]
radius = 32.0
[sub_resource type="CircleShape2D" id=3]
radius = 4.97325
[node name="TreeRed" type="Node2D"]
script = ExtResource( 1 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/Shake = SubResource( 1 )
[node name="Interactable" parent="." instance=ExtResource( 2 )]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Interactable"]
position = Vector2( -0.0405884, 0.0405903 )
shape = SubResource( 2 )
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource( 3 )
one_way_collision_margin = 0.0
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 3 )
offset = Vector2( 0, -30 )
region_enabled = true
region_rect = Rect2( 64, 320, 32, 64 )