67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://test/audio_system.gd" type="Script" id=1]
|
|
[ext_resource path="res://theme/menu_theme.tres" type="Theme" id=2]
|
|
[ext_resource path="res://test/audio_renderer.gd" type="Script" id=3]
|
|
[ext_resource path="res://shaders/audio_renderer.gdshader" type="Shader" id=4]
|
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
|
shader = ExtResource( 4 )
|
|
|
|
[node name="audio_system" type="Node2D"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="viewport_audio_renderer" type="Viewport" parent="."]
|
|
size = Vector2( 4096, 4096 )
|
|
size_override_stretch = true
|
|
transparent_bg = true
|
|
handle_input_locally = false
|
|
hdr = false
|
|
render_target_update_mode = 3
|
|
|
|
[node name="audio_renderer" type="Control" parent="viewport_audio_renderer"]
|
|
unique_name_in_owner = true
|
|
material = SubResource( 2 )
|
|
margin_right = 40.0
|
|
margin_bottom = 40.0
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="inst_buttons" type="ReferenceRect" parent="."]
|
|
margin_right = 348.0
|
|
margin_bottom = 118.0
|
|
|
|
[node name="sfx_buttons" type="ReferenceRect" parent="."]
|
|
margin_top = 130.0
|
|
margin_right = 198.0
|
|
margin_bottom = 176.0
|
|
|
|
[node name="sb_bgm" type="SpinBox" parent="."]
|
|
margin_top = 192.0
|
|
margin_right = 38.0
|
|
margin_bottom = 216.0
|
|
rect_min_size = Vector2( 38, 0 )
|
|
align = 2
|
|
|
|
[node name="btn_bgm" type="Button" parent="."]
|
|
margin_left = 40.0
|
|
margin_top = 192.0
|
|
margin_right = 102.0
|
|
margin_bottom = 216.0
|
|
text = "Play BGM"
|
|
|
|
[node name="btn_stop" type="Button" parent="."]
|
|
margin_left = 320.0
|
|
margin_top = 192.0
|
|
margin_right = 374.0
|
|
margin_bottom = 216.0
|
|
text = "Stop All"
|
|
|
|
[node name="btn_hack_loop_extension" type="CheckBox" parent="."]
|
|
margin_left = 105.0
|
|
margin_top = 192.0
|
|
margin_right = 315.0
|
|
margin_bottom = 216.0
|
|
theme = ExtResource( 2 )
|
|
pressed = true
|
|
text = "HACK: Loop Extension"
|