12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- [gd_scene load_steps=10 format=2]
- [ext_resource path="res://scene/World.tscn" type="PackedScene" id=1]
- [ext_resource path="res://asset/Font.tres" type="DynamicFont" id=2]
- [ext_resource path="res://scene/MusicPlayer.tscn" type="PackedScene" id=3]
- [ext_resource path="res://asset/LiberationSans-Regular.ttf" type="DynamicFontData" id=4]
- [ext_resource path="res://asset/logo.png" type="Texture" id=5]
- [ext_resource path="res://asset/black.png" type="Texture" id=6]
- [ext_resource path="res://asset/logo2.png" type="Texture" id=7]
- [sub_resource type="GDScript" id=2]
- script/source = "extends VSlider
- func _on_value_changed(value):
- AudioServer.set_bus_volume_db(0, -(100.0 - value) / 1.5)
- "
- [sub_resource type="DynamicFont" id=1]
- size = 12
- outline_size = 2
- outline_color = Color( 0.113725, 0.113725, 0.113725, 1 )
- font_data = ExtResource( 4 )
- [node name="Root" type="Control"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 9.0
- margin_top = -2.0
- margin_right = 9.0
- margin_bottom = -2.0
- [node name="World" parent="." instance=ExtResource( 1 )]
- position = Vector2( -38, 17 )
- [node name="MusicPlayer" parent="." instance=ExtResource( 3 )]
- [node name="UI" type="CanvasLayer" parent="."]
- [node name="LightingTime" type="RichTextLabel" parent="UI"]
- visible = false
- anchor_left = 0.01
- anchor_right = 1.0
- margin_right = 2003.0
- margin_bottom = 1013.0
- rect_scale = Vector2( 0.02, 0.02 )
- custom_fonts/normal_font = ExtResource( 2 )
- bbcode_text = "9.99"
- text = "9.99"
- fit_content_height = true
- [node name="VSlider" type="VSlider" parent="UI"]
- margin_left = 283.0
- margin_top = 2.0
- margin_right = 299.0
- margin_bottom = 39.0
- value = 100.0
- script = SubResource( 2 )
- [node name="Logo" type="TextureRect" parent="UI"]
- visible = false
- margin_left = -17.0
- margin_right = 314.0
- margin_bottom = 200.0
- texture = ExtResource( 5 )
- [node name="Darkness" type="TextureRect" parent="UI"]
- visible = false
- margin_left = -17.0
- margin_right = 314.0
- margin_bottom = 200.0
- texture = ExtResource( 6 )
- [node name="Darkness2" type="TextureRect" parent="UI"]
- visible = false
- margin_left = -88.0
- margin_top = -43.0
- margin_right = 380.0
- margin_bottom = 240.0
- texture = ExtResource( 7 )
- [node name="Caption" type="RichTextLabel" parent="UI"]
- visible = false
- margin_top = 179.0
- margin_right = 300.0
- margin_bottom = 200.0
- grow_horizontal = 2
- grow_vertical = 2
- custom_fonts/normal_font = SubResource( 1 )
- bbcode_enabled = true
- bbcode_text = "[center]text[/center]"
- text = "text"
- fit_content_height = true
- [connection signal="value_changed" from="UI/VSlider" to="UI/VSlider" method="_on_value_changed"]
|