2019-12-21 20:42:19 +10: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
|
|
|
|
|
2019-12-21 20:42:19 +10:30
|
|
|
[sub_resource type="ShaderMaterial" id=3]
|
|
|
|
shader = ExtResource( 9 )
|
|
|
|
shader_param/bps = null
|
|
|
|
shader_param/star_color = null
|
|
|
|
shader_param/held_color = null
|
|
|
|
shader_param/screen_size = null
|
|
|
|
|
2019-12-20 21:39:03 +10:30
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
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="."]
|
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"]
|
2019-12-20 21:39:03 +10:30
|
|
|
material = SubResource( 3 )
|
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"]
|
|
|
|
material = SubResource( 2 )
|
|
|
|
|
|
|
|
[node name="Painter" type="Node2D" parent="NoteHandler"]
|
|
|
|
material = SubResource( 4 )
|
|
|
|
script = ExtResource( 11 )
|
|
|
|
|
2019-11-22 23:59:38 +10:30
|
|
|
[node name="Menu" type="Node2D" parent="."]
|
2019-12-21 20:42:19 +10:30
|
|
|
script = ExtResource( 12 )
|
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 )
|
2019-11-10 15:09:14 +10:30
|
|
|
text = "Fingers on the screen:"
|
2019-12-21 20:42:19 +10:30
|
|
|
script = ExtResource( 17 )
|
|
|
|
|
|
|
|
[node name="VerticesSlider" type="HSlider" parent="InputHandler"]
|
|
|
|
margin_left = 10.0
|
|
|
|
margin_top = 280.0
|
|
|
|
margin_right = 310.0
|
|
|
|
margin_bottom = 296.0
|
|
|
|
min_value = 3.0
|
|
|
|
max_value = 72.0
|
|
|
|
value = 36.0
|
|
|
|
tick_count = 2
|
|
|
|
ticks_on_borders = true
|
|
|
|
|
|
|
|
[node name="SkewSlider" type="HSlider" parent="InputHandler"]
|
|
|
|
margin_left = 10.0
|
|
|
|
margin_top = 310.0
|
|
|
|
margin_right = 310.0
|
|
|
|
margin_bottom = 320.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
max_value = 0.5
|
|
|
|
step = 0.01
|
|
|
|
tick_count = 3
|
|
|
|
ticks_on_borders = true
|
|
|
|
|
|
|
|
[node name="SSXSlider" type="HSlider" parent="InputHandler"]
|
|
|
|
margin_left = 10.0
|
|
|
|
margin_top = 400.0
|
|
|
|
margin_right = 310.0
|
|
|
|
margin_bottom = 410.0
|
|
|
|
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
|
|
|
|
|
|
|
|
[node name="SSYSlider" type="HSlider" parent="InputHandler"]
|
|
|
|
margin_left = 10.0
|
|
|
|
margin_top = 430.0
|
|
|
|
margin_right = 310.0
|
|
|
|
margin_bottom = 440.0
|
|
|
|
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
|