2020-04-26 13:49:44 +09:30
|
|
|
[gd_scene load_steps=22 format=2]
|
2019-11-10 15:09:14 +10:30
|
|
|
|
|
|
|
[ext_resource path="res://main.gd" type="Script" id=1]
|
2019-11-22 23:59:38 +10:30
|
|
|
[ext_resource path="res://video.gd" type="Script" id=2]
|
2019-12-17 15:05:27 +10:30
|
|
|
[ext_resource path="res://ScreenFilter.gd" type="Script" id=3]
|
2019-12-20 21:39:03 +10:30
|
|
|
[ext_resource path="res://shaders/receptors.shader" type="Shader" id=4]
|
|
|
|
[ext_resource path="res://Receptors.gd" type="Script" id=5]
|
|
|
|
[ext_resource path="res://NoteHandler.gd" type="Script" id=6]
|
2019-12-21 20:42:19 +10:30
|
|
|
[ext_resource path="res://NoteViewport.gd" type="Script" id=7]
|
|
|
|
[ext_resource path="res://assets/text-4k.png" type="Texture" id=8]
|
2019-12-20 21:39:03 +10:30
|
|
|
[ext_resource path="res://shaders/notemesh.shader" type="Shader" id=9]
|
2019-12-21 20:42:19 +10:30
|
|
|
[ext_resource path="res://shaders/notelines.shader" type="Shader" id=10]
|
|
|
|
[ext_resource path="res://NotePainter.gd" type="Script" id=11]
|
|
|
|
[ext_resource path="res://Menu.gd" type="Script" id=12]
|
|
|
|
[ext_resource path="res://shaders/scoretext.tres" type="Material" id=13]
|
|
|
|
[ext_resource path="res://ScoreText.gd" type="Script" id=14]
|
|
|
|
[ext_resource path="res://Bezel.gd" type="Script" id=15]
|
|
|
|
[ext_resource path="res://assets/NotoSans.tres" type="DynamicFont" id=16]
|
|
|
|
[ext_resource path="res://InputHandler.gd" type="Script" id=17]
|
|
|
|
|
|
|
|
[sub_resource type="ShaderMaterial" id=1]
|
2019-12-20 21:39:03 +10:30
|
|
|
shader = ExtResource( 4 )
|
|
|
|
shader_param/num_receptors = 8
|
2019-12-21 10:59:20 +10:30
|
|
|
shader_param/line_color = Color( 0, 0, 1, 1 )
|
|
|
|
shader_param/dot_color = Color( 0, 0, 1, 1 )
|
|
|
|
shader_param/shadow_color = Color( 0, 0, 0, 1 )
|
2019-12-20 21:39:03 +10:30
|
|
|
shader_param/line_thickness = 0.006
|
|
|
|
shader_param/dot_radius = 0.033
|
|
|
|
shader_param/shadow_thickness = 0.01
|
|
|
|
shader_param/shadow_thickness_taper = 0.33
|
|
|
|
shader_param/px = 0.002
|
|
|
|
|
2020-03-12 23:05:12 +10:30
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
2019-12-21 20:42:19 +10:30
|
|
|
shader = ExtResource( 9 )
|
|
|
|
shader_param/bps = null
|
|
|
|
shader_param/star_color = null
|
|
|
|
shader_param/held_color = null
|
|
|
|
shader_param/screen_size = null
|
|
|
|
|
2020-03-12 23:05:12 +10:30
|
|
|
[sub_resource type="ShaderMaterial" id=3]
|
2019-12-21 20:42:19 +10:30
|
|
|
shader = ExtResource( 10 )
|
|
|
|
shader_param/line_color = Color( 0.8, 0.8, 1, 0.8 )
|
|
|
|
shader_param/line_color_double = Color( 1, 1, 0.6, 0.9 )
|
|
|
|
shader_param/dot_color = Color( 1, 1, 1, 0.8 )
|
2019-11-10 15:09:14 +10:30
|
|
|
shader_param/bps = 1.0
|
|
|
|
shader_param/line_thickness = 0.012
|
|
|
|
shader_param/line_thickness_min = 0.0
|
|
|
|
shader_param/dot_thickness = 0.033
|
|
|
|
shader_param/dot_fullbright_thickness = 0.013
|
|
|
|
shader_param/max_angle = 1.0708
|
2019-12-21 10:59:20 +10:30
|
|
|
shader_param/max_dist = 1.25
|
2019-11-10 15:09:14 +10:30
|
|
|
|
2019-12-21 20:42:19 +10:30
|
|
|
[sub_resource type="CanvasItemMaterial" id=4]
|
|
|
|
blend_mode = 4
|
2019-11-10 15:09:14 +10:30
|
|
|
|
|
|
|
[node name="main" type="Node2D"]
|
2019-12-17 15:05:27 +10:30
|
|
|
position = Vector2( 540, 540 )
|
2019-11-10 15:09:14 +10:30
|
|
|
script = ExtResource( 1 )
|
2019-11-18 13:11:02 +10:30
|
|
|
__meta__ = {
|
2019-11-19 00:17:48 +10:30
|
|
|
"_edit_horizontal_guides_": [ ],
|
2019-12-17 15:05:27 +10:30
|
|
|
"_edit_vertical_guides_": [ ]
|
2019-11-18 13:11:02 +10:30
|
|
|
}
|
2019-11-10 15:09:14 +10:30
|
|
|
|
2019-11-22 23:59:38 +10:30
|
|
|
[node name="music" type="AudioStreamPlayer" parent="."]
|
|
|
|
|
2019-11-10 15:09:14 +10:30
|
|
|
[node name="video" type="VideoPlayer" parent="."]
|
2019-11-18 13:11:02 +10:30
|
|
|
margin_left = -540.0
|
|
|
|
margin_top = -540.0
|
|
|
|
margin_right = 540.0
|
|
|
|
margin_bottom = 540.0
|
2019-11-10 15:09:14 +10:30
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
rect_pivot_offset = Vector2( 540, 540 )
|
|
|
|
mouse_filter = 2
|
2019-11-22 23:59:38 +10:30
|
|
|
volume_db = -80.0
|
|
|
|
script = ExtResource( 2 )
|
2019-11-10 15:09:14 +10:30
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2019-12-17 15:05:27 +10:30
|
|
|
[node name="ScreenFilter" type="Node2D" parent="."]
|
2020-04-26 13:49:44 +09:30
|
|
|
visible = false
|
2019-11-22 23:59:38 +10:30
|
|
|
script = ExtResource( 3 )
|
2019-11-10 15:09:14 +10:30
|
|
|
|
2019-12-18 15:59:56 +10:30
|
|
|
[node name="Receptors" type="MeshInstance2D" parent="."]
|
2019-12-21 20:42:19 +10:30
|
|
|
material = SubResource( 1 )
|
2019-12-20 21:39:03 +10:30
|
|
|
script = ExtResource( 5 )
|
2019-11-10 15:09:14 +10:30
|
|
|
|
2019-12-17 15:05:27 +10:30
|
|
|
[node name="NoteHandler" type="Node2D" parent="."]
|
2019-12-20 21:39:03 +10:30
|
|
|
script = ExtResource( 6 )
|
2019-12-17 15:05:27 +10:30
|
|
|
|
2019-12-21 20:42:19 +10:30
|
|
|
[node name="Viewport" type="Viewport" parent="NoteHandler"]
|
|
|
|
size = Vector2( 540, 540 )
|
|
|
|
transparent_bg = true
|
|
|
|
usage = 1
|
|
|
|
render_target_v_flip = true
|
|
|
|
script = ExtResource( 7 )
|
2019-11-13 20:55:28 +10:30
|
|
|
|
2019-12-21 20:42:19 +10:30
|
|
|
[node name="Center" type="Node2D" parent="NoteHandler/Viewport"]
|
|
|
|
position = Vector2( 270, 270 )
|
|
|
|
scale = Vector2( 0.5, 0.5 )
|
2019-11-19 00:17:48 +10:30
|
|
|
|
2019-12-21 20:42:19 +10:30
|
|
|
[node name="SlideTrailHandler" type="Node2D" parent="NoteHandler/Viewport/Center"]
|
2019-11-10 15:09:14 +10:30
|
|
|
|
2019-12-21 20:42:19 +10:30
|
|
|
[node name="JudgeText" type="MeshInstance2D" parent="NoteHandler/Viewport/Center"]
|
|
|
|
texture = ExtResource( 8 )
|
|
|
|
|
|
|
|
[node name="meshinstance" type="MeshInstance2D" parent="NoteHandler/Viewport/Center"]
|
2020-03-12 23:05:12 +10:30
|
|
|
material = SubResource( 2 )
|
2019-11-10 15:09:14 +10:30
|
|
|
|
2019-12-21 20:42:19 +10:30
|
|
|
[node name="notelines" type="MeshInstance2D" parent="NoteHandler/Viewport/Center"]
|
2020-03-12 23:05:12 +10:30
|
|
|
material = SubResource( 3 )
|
2019-12-21 20:42:19 +10:30
|
|
|
|
|
|
|
[node name="Painter" type="Node2D" parent="NoteHandler"]
|
|
|
|
material = SubResource( 4 )
|
|
|
|
script = ExtResource( 11 )
|
|
|
|
|
2020-03-12 23:05:12 +10:30
|
|
|
[node name="Menu" type="Control" parent="."]
|
|
|
|
margin_left = -540.0
|
|
|
|
margin_top = -540.0
|
|
|
|
margin_right = 540.0
|
|
|
|
margin_bottom = 540.0
|
|
|
|
rect_pivot_offset = Vector2( 540, 540 )
|
|
|
|
rect_clip_content = true
|
2019-12-21 20:42:19 +10:30
|
|
|
script = ExtResource( 12 )
|
2020-03-12 23:05:12 +10:30
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2019-11-22 23:59:38 +10:30
|
|
|
|
2019-12-10 23:57:33 +10:30
|
|
|
[node name="ScoreText" type="Node2D" parent="Menu"]
|
2019-12-21 20:42:19 +10:30
|
|
|
material = ExtResource( 13 )
|
|
|
|
script = ExtResource( 14 )
|
2019-12-10 23:57:33 +10:30
|
|
|
|
2019-11-10 15:09:14 +10:30
|
|
|
[node name="Bezel" type="Node2D" parent="."]
|
2019-12-21 20:42:19 +10:30
|
|
|
script = ExtResource( 15 )
|
2019-11-10 15:09:14 +10:30
|
|
|
|
2019-11-13 00:48:06 +10:30
|
|
|
[node name="InputHandler" type="Label" parent="."]
|
2019-12-17 15:05:27 +10:30
|
|
|
margin_left = -540.0
|
2019-11-18 13:11:02 +10:30
|
|
|
margin_top = -540.0
|
2019-12-17 15:05:27 +10:30
|
|
|
margin_right = 540.0
|
2019-11-18 13:11:02 +10:30
|
|
|
margin_bottom = 540.0
|
2019-12-21 20:42:19 +10:30
|
|
|
custom_fonts/font = ExtResource( 16 )
|
2020-04-26 13:49:44 +09:30
|
|
|
text = "FPS:
|
|
|
|
Audio Latency:"
|
2019-12-21 20:42:19 +10:30
|
|
|
script = ExtResource( 17 )
|
2020-03-12 23:05:12 +10:30
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2019-12-21 20:42:19 +10:30
|
|
|
|
2020-03-12 23:05:12 +10:30
|
|
|
[node name="Label" type="Label" parent="InputHandler"]
|
|
|
|
margin_top = 136.0
|
|
|
|
margin_right = 116.0
|
|
|
|
margin_bottom = 150.0
|
|
|
|
text = "Subsampling (X, Y)"
|
2020-04-26 13:49:44 +09:30
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2019-12-21 20:42:19 +10:30
|
|
|
|
|
|
|
[node name="SSXSlider" type="HSlider" parent="InputHandler"]
|
|
|
|
margin_left = 10.0
|
2020-03-12 23:05:12 +10:30
|
|
|
margin_top = 160.0
|
2019-12-21 20:42:19 +10:30
|
|
|
margin_right = 310.0
|
2020-03-12 23:05:12 +10:30
|
|
|
margin_bottom = 156.0
|
2019-12-21 20:42:19 +10:30
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
min_value = 0.1
|
|
|
|
max_value = 2.0
|
|
|
|
step = 0.01
|
|
|
|
value = 1.0
|
|
|
|
tick_count = 3
|
|
|
|
ticks_on_borders = true
|
2020-03-12 23:05:12 +10:30
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2019-12-21 20:42:19 +10:30
|
|
|
|
|
|
|
[node name="SSYSlider" type="HSlider" parent="InputHandler"]
|
|
|
|
margin_left = 10.0
|
2020-03-12 23:05:12 +10:30
|
|
|
margin_top = 176.0
|
2019-12-21 20:42:19 +10:30
|
|
|
margin_right = 310.0
|
2020-03-12 23:05:12 +10:30
|
|
|
margin_bottom = 186.0
|
2019-12-21 20:42:19 +10:30
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
min_value = 0.1
|
|
|
|
max_value = 2.0
|
|
|
|
step = 0.01
|
|
|
|
value = 1.0
|
|
|
|
tick_count = 3
|
|
|
|
ticks_on_borders = true
|
2020-03-29 17:43:28 +10:30
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-04-26 13:49:44 +09:30
|
|
|
[node name="Label2" type="Label" parent="InputHandler"]
|
|
|
|
margin_top = 200.0
|
|
|
|
margin_right = 133.0
|
|
|
|
margin_bottom = 214.0
|
|
|
|
text = "Screen Filter Opacity"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-03-29 17:43:28 +10:30
|
|
|
[node name="FilterSlider" type="HSlider" parent="InputHandler"]
|
|
|
|
margin_left = 16.0
|
2020-04-26 13:49:44 +09:30
|
|
|
margin_top = 218.0
|
2020-03-29 17:43:28 +10:30
|
|
|
margin_right = 316.0
|
2020-04-26 13:49:44 +09:30
|
|
|
margin_bottom = 234.0
|
2020-03-29 17:43:28 +10:30
|
|
|
max_value = 1.0
|
|
|
|
step = 0.01
|
|
|
|
value = 0.2
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-03-12 23:05:12 +10:30
|
|
|
|
|
|
|
[node name="VsyncButton" type="CheckButton" parent="InputHandler"]
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 90.0
|
|
|
|
margin_right = 121.0
|
|
|
|
margin_bottom = 130.0
|
2020-03-30 23:21:20 +10:30
|
|
|
pressed = true
|
2020-03-12 23:05:12 +10:30
|
|
|
text = "Vsync"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|