forked from Miziziziz/WitchyPlatformer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFriendly.tscn
59 lines (53 loc) · 1.57 KB
/
Friendly.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
52
53
54
55
56
57
58
59
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Sign.gd" type="Script" id=1]
[ext_resource path="res://spritesheets/Witchcraft_spr_3.png" type="Texture2D" id=2]
[ext_resource path="res://TextDisplay.tscn" type="PackedScene" id=3]
[sub_resource type="Animation" id=1]
resource_name = "cast_spell"
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PackedFloat32Array( 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7 ),
"transitions": PackedFloat32Array( 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 1,
"values": [ 10, 11, 12, 13, 14, 15, 16, 0 ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PackedFloat32Array( 0.3 ),
"transitions": PackedFloat32Array( 1 ),
"values": [ {
"args": [ ],
"method": "win"
} ]
}
[node name="Friendly" type="Node2D" groups=[
"need_player_ref",
]]
script = ExtResource( 1 )
text = "You must reach the end within the time limit to earn your witch's hat
"
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2( 0, -8 )
texture = ExtResource( 2 )
flip_h = true
hframes = 21
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/cast_spell = SubResource( 1 )
[node name="TextDisplay" parent="." instance=ExtResource( 3 )]
offset_left = -52.1982
offset_top = -48.0
offset_right = 69.8018
offset_bottom = 2.99997
text = "Congratulations!
You have earned your witch's hat"
autowrap = true