-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDebate.tscn
141 lines (128 loc) · 3.74 KB
/
Debate.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Scripts/DebateController.gd" type="Script" id=1]
[ext_resource path="res://Sprites/UI/Debate/Debate Person.png" type="Texture" id=2]
[ext_resource path="res://SpeechBubble.tscn" type="PackedScene" id=3]
[ext_resource path="res://Sprites/UI/Debate/Clock1.png" type="Texture" id=4]
[ext_resource path="res://Sprites/UI/Debate/Clock2.png" type="Texture" id=5]
[sub_resource type="Animation" id=1]
resource_name = "Fade In"
length = 0.25
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath("Background:color")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.25 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 0, 0, 0, 0 ), Color( 0, 0, 0, 0.294118 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Characters/Arguer:rect_position")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.25 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( -128, 68 ), Vector2( 4, 68 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Characters/Player:rect_position")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 0.25 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 768, 68 ), Vector2( 636, 68 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("ArguerSpeechBubble:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0.2, 0.25 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ false, true ]
}
tracks/4/type = "value"
tracks/4/path = NodePath(".:visible")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/5/type = "value"
tracks/5/path = NodePath("Clock:rect_position")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 0, 0.25 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 256, 400 ), Vector2( 256, 210 ) ]
}
[node name="Debate UI" type="Control"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
[node name="Background" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 0 )
[node name="Characters" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Arguer" type="TextureRect" parent="Characters"]
margin_left = -128.0
margin_top = 68.0
margin_right = -8.0
margin_bottom = 360.0
texture = ExtResource( 2 )
[node name="Player" type="TextureRect" parent="Characters"]
modulate = Color( 0.192157, 0.517647, 0.972549, 1 )
margin_left = 768.0
margin_top = 68.0
margin_right = 888.0
margin_bottom = 360.0
rect_scale = Vector2( -1, 1 )
texture = ExtResource( 2 )
[node name="ArguerSpeechBubble" parent="." instance=ExtResource( 3 )]
visible = false
[node name="PlayerSpeechBubble" parent="." instance=ExtResource( 3 )]
margin_left = 500.0
margin_top = 111.0
margin_right = 601.0
margin_bottom = 223.0
rect_scale = Vector2( -1, 1 )
[node name="Clock" type="TextureProgress" parent="."]
margin_left = 256.0
margin_top = 400.0
margin_right = 384.0
margin_bottom = 528.0
texture_under = ExtResource( 4 )
texture_progress = ExtResource( 5 )
fill_mode = 5
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
"anims/Fade In" = SubResource( 1 )
[node name="Timer" type="Timer" parent="."]
wait_time = 0.1