RhythmGame/main.tscn

192 lines
5.4 KiB
Plaintext

[gd_scene load_steps=22 format=2]
[ext_resource path="res://main.gd" type="Script" id=1]
[ext_resource path="res://video.gd" type="Script" id=2]
[ext_resource path="res://ScreenFilter.gd" type="Script" id=3]
[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]
[ext_resource path="res://NoteViewport.gd" type="Script" id=7]
[ext_resource path="res://assets/text-4k.png" type="Texture" id=8]
[ext_resource path="res://shaders/notemesh.shader" type="Shader" id=9]
[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]
shader = ExtResource( 4 )
shader_param/num_receptors = 8
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 )
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
[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
[sub_resource type="ShaderMaterial" id=2]
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 )
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
shader_param/max_dist = 1.25
[sub_resource type="CanvasItemMaterial" id=4]
blend_mode = 4
[node name="main" type="Node2D"]
position = Vector2( 540, 540 )
script = ExtResource( 1 )
__meta__ = {
"_edit_horizontal_guides_": [ ],
"_edit_vertical_guides_": [ ]
}
[node name="music" type="AudioStreamPlayer" parent="."]
[node name="video" type="VideoPlayer" parent="."]
margin_left = -540.0
margin_top = -540.0
margin_right = 540.0
margin_bottom = 540.0
grow_horizontal = 2
grow_vertical = 2
rect_pivot_offset = Vector2( 540, 540 )
mouse_filter = 2
volume_db = -80.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ScreenFilter" type="Node2D" parent="."]
script = ExtResource( 3 )
[node name="Receptors" type="MeshInstance2D" parent="."]
material = SubResource( 1 )
script = ExtResource( 5 )
[node name="NoteHandler" type="Node2D" parent="."]
script = ExtResource( 6 )
[node name="Viewport" type="Viewport" parent="NoteHandler"]
size = Vector2( 540, 540 )
transparent_bg = true
usage = 1
render_target_v_flip = true
script = ExtResource( 7 )
[node name="Center" type="Node2D" parent="NoteHandler/Viewport"]
position = Vector2( 270, 270 )
scale = Vector2( 0.5, 0.5 )
[node name="SlideTrailHandler" type="Node2D" parent="NoteHandler/Viewport/Center"]
[node name="JudgeText" type="MeshInstance2D" parent="NoteHandler/Viewport/Center"]
texture = ExtResource( 8 )
[node name="meshinstance" type="MeshInstance2D" parent="NoteHandler/Viewport/Center"]
material = SubResource( 3 )
[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 )
[node name="Menu" type="Node2D" parent="."]
script = ExtResource( 12 )
[node name="ScoreText" type="Node2D" parent="Menu"]
material = ExtResource( 13 )
script = ExtResource( 14 )
[node name="Bezel" type="Node2D" parent="."]
script = ExtResource( 15 )
[node name="InputHandler" type="Label" parent="."]
margin_left = -540.0
margin_top = -540.0
margin_right = 540.0
margin_bottom = 540.0
custom_fonts/font = ExtResource( 16 )
text = "Fingers on the screen:"
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