-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGamePlay.tscn
71 lines (59 loc) · 1.87 KB
/
GamePlay.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
[gd_scene load_steps=7 format=2]
[ext_resource path="res://scripts/Gameplay.gd" type="Script" id=1]
[ext_resource path="res://assets/fonts/SpaceMission.otf" type="DynamicFontData" id=2]
[ext_resource path="res://maps/Map1.tscn" type="PackedScene" id=3]
[sub_resource type="DynamicFont" id=20]
size = 64
outline_size = 2
outline_color = Color( 0, 0, 0, 1 )
use_mipmaps = true
use_filter = true
font_data = ExtResource( 2 )
[sub_resource type="Animation" id=21]
resource_name = "LoseTextReveal"
tracks/0/type = "value"
tracks/0/path = NodePath("LoseText:self_modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.001, 0.2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
}
[sub_resource type="Animation" id=22]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath("LoseText:self_modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ) ]
}
[node name="GamePlay" type="Node2D"]
script = ExtResource( 1 )
[node name="Map1" parent="." instance=ExtResource( 3 )]
[node name="Playground" type="Node2D" parent="."]
[node name="Bullets" type="Node2D" parent="."]
[node name="Turrents" type="Node2D" parent="."]
[node name="HUD" type="CanvasLayer" parent="."]
[node name="LoseText" type="Label" parent="HUD"]
self_modulate = Color( 1, 1, 1, 0 )
margin_left = 328.0
margin_top = 163.0
margin_right = 713.0
margin_bottom = 286.0
custom_fonts/font = SubResource( 20 )
text = "You Lose!"
align = 1
valign = 1
[node name="AnimationPlayer" type="AnimationPlayer" parent="HUD"]
anims/LoseTextReveal = SubResource( 21 )
anims/RESET = SubResource( 22 )