-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModReplayer.tscn
225 lines (196 loc) · 5.81 KB
/
ModReplayer.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
[gd_scene load_steps=13 format=2]
[ext_resource path="res://ModReplayer.gd" type="Script" id=1]
[ext_resource path="res://ELEKTORA.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://gfx/control.png" type="Texture" id=3]
[ext_resource path="res://gfx/control-stop-square.png" type="Texture" id=4]
[ext_resource path="res://gfx/control-eject.png" type="Texture" id=5]
[ext_resource path="res://spelunkid_font.tres" type="BitmapFont" id=6]
[ext_resource path="res://gfx/cross.png" type="Texture" id=7]
[ext_resource path="res://PatternView.tscn" type="PackedScene" id=8]
[sub_resource type="DynamicFont" id=1]
size = 24
outline_size = 1
outline_color = Color( 0.564706, 0.658824, 1, 1 )
use_filter = true
extra_spacing_char = -1
extra_spacing_space = 4
font_data = ExtResource( 2 )
[sub_resource type="AudioStreamGenerator" id=2]
[sub_resource type="AudioStreamGenerator" id=3]
mix_rate = 22050.0
[sub_resource type="StyleBoxFlat" id=4]
content_margin_left = 4.0
bg_color = Color( 0.6, 0.6, 0.6, 0.0352941 )
border_width_right = 1
border_width_bottom = 1
border_color = Color( 0.8, 0.8, 0.8, 0.0627451 )
expand_margin_bottom = 1.0
anti_aliasing = false
[node name="ModReplayer" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_lock_": true
}
[node name="Tabs" type="TabContainer" parent="."]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -336.0
margin_top = 16.0
margin_right = -16.0
margin_bottom = 576.0
[node name="Bank0" type="Tabs" parent="Tabs"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="VBox" type="VBoxContainer" parent="Tabs/Bank0"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_bottom = -24.0
[node name="Bank1" type="Tabs" parent="Tabs"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="VBox" type="VBoxContainer" parent="Tabs/Bank1"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_bottom = -24.0
[node name="lblTitle" type="Label" parent="."]
margin_left = 24.0
margin_top = 24.0
margin_right = 336.0
margin_bottom = 64.0
custom_fonts/font = SubResource( 1 )
text = "Godot Module replayer v.02"
[node name="SamplePreview" type="AudioStreamPlayer" parent="."]
stream = SubResource( 2 )
[node name="FileDialog" type="FileDialog" parent="."]
margin_left = 168.0
margin_top = 121.0
margin_right = 839.0
margin_bottom = 462.0
window_title = "Open a File"
mode = 0
access = 2
filters = PoolStringArray( "*.mod", "" )
show_hidden_files = true
current_dir = "/Projects/godot/Code/gdsmod"
current_path = "/Projects/godot/Code/gdsmod/"
[node name="Buttons" type="HBoxContainer" parent="."]
margin_left = 32.0
margin_top = 67.0
margin_right = 274.0
margin_bottom = 91.0
[node name="Play" type="Button" parent="Buttons"]
margin_right = 99.0
margin_bottom = 24.0
toggle_mode = true
text = "Play/Pause"
icon = ExtResource( 3 )
[node name="Stop" type="Button" parent="Buttons"]
margin_left = 103.0
margin_right = 161.0
margin_bottom = 24.0
text = "Stop"
icon = ExtResource( 4 )
[node name="Open" type="Button" parent="Buttons"]
margin_left = 165.0
margin_right = 242.0
margin_bottom = 24.0
text = "Open..."
icon = ExtResource( 5 )
[node name="Player" type="AudioStreamPlayer" parent="."]
stream = SubResource( 3 )
volume_db = -1.784
[node name="SampleInfo" type="Label" parent="."]
margin_left = 40.0
margin_top = 103.0
margin_right = 328.0
margin_bottom = 254.0
custom_fonts/font = ExtResource( 6 )
text = "Sample X:
no data"
[node name="Orders" type="Label" parent="."]
margin_left = 510.0
margin_top = 70.0
margin_right = 660.0
margin_bottom = 570.0
text = "Orders:
"
[node name="PlaybackPosition" type="Label" parent="."]
margin_left = 290.0
margin_top = 70.0
margin_right = 431.0
margin_bottom = 90.0
text = "Tick 0
Row 0
Pattern 0"
[node name="ChannelLabels" type="HBoxContainer" parent="."]
margin_left = 66.0
margin_top = 190.0
margin_right = 479.0
margin_bottom = 214.0
custom_constants/separation = 0
[node name="0" type="CheckBox" parent="ChannelLabels"]
margin_right = 104.0
margin_bottom = 24.0
rect_min_size = Vector2( 104, 24 )
custom_icons/checked = ExtResource( 7 )
custom_styles/normal = SubResource( 4 )
custom_fonts/font = ExtResource( 6 )
text = "Channel 1"
align = 1
[node name="1" type="CheckBox" parent="ChannelLabels"]
margin_left = 104.0
margin_right = 208.0
margin_bottom = 24.0
rect_min_size = Vector2( 104, 24 )
custom_icons/checked = ExtResource( 7 )
custom_styles/normal = SubResource( 4 )
custom_fonts/font = ExtResource( 6 )
text = "Channel 2"
align = 1
[node name="2" type="CheckBox" parent="ChannelLabels"]
margin_left = 208.0
margin_right = 312.0
margin_bottom = 24.0
rect_min_size = Vector2( 104, 24 )
custom_icons/checked = ExtResource( 7 )
custom_styles/normal = SubResource( 4 )
custom_fonts/font = ExtResource( 6 )
text = "Channel 3"
align = 1
[node name="3" type="CheckBox" parent="ChannelLabels"]
margin_left = 312.0
margin_right = 416.0
margin_bottom = 24.0
rect_min_size = Vector2( 104, 24 )
custom_icons/checked = ExtResource( 7 )
custom_styles/normal = SubResource( 4 )
custom_fonts/font = ExtResource( 6 )
text = "Channel 4"
align = 1
[node name="Pattern" parent="." instance=ExtResource( 8 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 50.0
margin_top = 220.0
margin_right = 500.0
margin_bottom = 580.0
[node name="Line2D" type="Line2D" parent="Pattern"]
position = Vector2( 16, 64 )
width = 2.0
default_color = Color( 0.4, 0.501961, 1, 0.541176 )
texture_mode = 1056964608
[connection signal="file_selected" from="FileDialog" to="." method="_on_FileDialog_file_selected"]
[connection signal="toggled" from="Buttons/Play" to="." method="_on_Play_toggled"]
[connection signal="pressed" from="Buttons/Stop" to="." method="_on_Stop_pressed"]
[connection signal="pressed" from="Buttons/Open" to="." method="_on_Open_pressed"]