-
Notifications
You must be signed in to change notification settings - Fork 1
/
SaltRemover.tscn
executable file
·89 lines (80 loc) · 2.17 KB
/
SaltRemover.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[gd_scene load_steps=6 format=2]
[ext_resource path="res://assets/spot.png" type="Texture" id=1]
[ext_resource path="res://assets/salt_remover.png" type="Texture" id=2]
[ext_resource path="res://SaltRemover.gd" type="Script" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 11.25, 14.75 )
[sub_resource type="Animation" id=2]
resource_name = "Destroy"
tracks/0/type = "method"
tracks/0/path = NodePath(".")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 1 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [ ],
"method": "queue_free"
} ]
}
tracks/1/type = "value"
tracks/1/path = NodePath(".:scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0.001, 1 ),
"transitions": PoolRealArray( 1, 1.8 ),
"update": 0,
"values": [ Vector2( 1.5, 1.5 ), Vector2( 0, 0 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath(".:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 0.2, 1.8 ),
"update": 0,
"values": [ Color( 1.3, 1.3, 1.3, 0.7 ), Color( 1, 1, 1, 0.101961 ) ]
}
[node name="SaltRemover" type="Sprite"]
light_mask = 0
z_index = 3
texture = ExtResource( 2 )
script = ExtResource( 3 )
[node name="Label" type="Label" parent="."]
visible = false
light_mask = 0
margin_left = -45.0
margin_top = -30.0
margin_bottom = -15.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
text = "SALT REMOVER"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Light2D" type="Light2D" parent="."]
light_mask = 0
texture = ExtResource( 1 )
color = Color( 0.172549, 0.419608, 0.454902, 1 )
energy = 1.5
[node name="SaltRemoverArea" type="Area2D" parent="."]
__meta__ = {
"_edit_lock_": true
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="SaltRemoverArea"]
position = Vector2( 0.5, -0.25 )
shape = SubResource( 1 )
__meta__ = {
"_edit_lock_": true
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/Destroy = SubResource( 2 )