65 lines
2.1 KiB
Plaintext
65 lines
2.1 KiB
Plaintext
[gd_scene load_steps=10 format=2]
|
|
|
|
[ext_resource path="res://scripts/NoteViewport.gd" type="Script" id=1]
|
|
[ext_resource path="res://shaders/notemesh.shader" type="Shader" id=2]
|
|
[ext_resource path="res://scripts/NoteHandler.gd" type="Script" id=3]
|
|
[ext_resource path="res://shaders/notelines.shader" type="Shader" id=4]
|
|
[ext_resource path="res://assets/text-4k.png" type="Texture" id=5]
|
|
[ext_resource path="res://scripts/NotePainter.gd" type="Script" id=6]
|
|
|
|
[sub_resource type="ShaderMaterial" id=3]
|
|
shader = ExtResource( 2 )
|
|
shader_param/bps = null
|
|
shader_param/star_color = null
|
|
shader_param/held_color = null
|
|
shader_param/screen_size = null
|
|
|
|
[sub_resource type="ShaderMaterial" id=4]
|
|
shader = ExtResource( 4 )
|
|
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
|
|
shader_param/array_postmul = Vector3( 1, 1, 1 )
|
|
shader_param/cols_div2 = 3.999
|
|
shader_param/array_sidelen = 16
|
|
shader_param/array_size = 256
|
|
|
|
[sub_resource type="CanvasItemMaterial" id=5]
|
|
blend_mode = 4
|
|
|
|
[node name="NoteHandler" type="Node2D"]
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="Viewport" type="Viewport" parent="."]
|
|
size = Vector2( 540, 540 )
|
|
transparent_bg = true
|
|
usage = 1
|
|
render_target_v_flip = true
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Center" type="Node2D" parent="Viewport"]
|
|
position = Vector2( 270, 270 )
|
|
scale = Vector2( 0.5, 0.5 )
|
|
|
|
[node name="SlideTrailHandler" type="Node2D" parent="Viewport/Center"]
|
|
|
|
[node name="JudgeText" type="MeshInstance2D" parent="Viewport/Center"]
|
|
texture = ExtResource( 5 )
|
|
|
|
[node name="meshinstance" type="MeshInstance2D" parent="Viewport/Center"]
|
|
material = SubResource( 3 )
|
|
|
|
[node name="notelines" type="MeshInstance2D" parent="Viewport/Center"]
|
|
material = SubResource( 4 )
|
|
|
|
[node name="Painter" type="Node2D" parent="."]
|
|
material = SubResource( 5 )
|
|
script = ExtResource( 6 )
|