mirror of
https://git.kittycat.homes/BatHeartTiger/untitled-plant-game.git
synced 2024-08-15 03:16:27 +00:00
82 lines
2.5 KiB
Text
82 lines
2.5 KiB
Text
[gd_scene load_steps=12 format=2]
|
|
|
|
[ext_resource path="res://World/Plant.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://World/FullscreenButton.gd" type="Script" id=2]
|
|
[ext_resource path="res://Aseprite/fullscreen.png" type="Texture" id=3]
|
|
[ext_resource path="res://Aseprite/fullscreen_hover.png" type="Texture" id=4]
|
|
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=5]
|
|
[ext_resource path="res://Menu/Volume.gd" type="Script" id=6]
|
|
[ext_resource path="res://Aseprite/music.png" type="Texture" id=7]
|
|
[ext_resource path="res://Aseprite/music_hover.png" type="Texture" id=8]
|
|
[ext_resource path="res://Aseprite/pot.png" type="Texture" id=9]
|
|
|
|
[sub_resource type="StyleBoxFlat" id=1]
|
|
bg_color = Color( 0.14902, 0.0431373, 0.129412, 1 )
|
|
|
|
[sub_resource type="StyleBoxFlat" id=2]
|
|
bg_color = Color( 0.517647, 0.745098, 0.929412, 1 )
|
|
expand_margin_left = 2.0
|
|
expand_margin_right = 2.0
|
|
|
|
[node name="Main" type="Node2D"]
|
|
|
|
[node name="Plant" parent="." instance=ExtResource( 1 )]
|
|
|
|
[node name="Options" type="Panel" parent="."]
|
|
margin_left = 236.0
|
|
margin_top = 2.0
|
|
margin_right = 254.0
|
|
margin_bottom = 142.0
|
|
theme = ExtResource( 5 )
|
|
custom_styles/panel = SubResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="FullscreenButton" type="TextureButton" parent="Options"]
|
|
margin_left = 1.0
|
|
margin_top = 123.0
|
|
margin_right = 17.0
|
|
margin_bottom = 139.0
|
|
texture_normal = ExtResource( 3 )
|
|
texture_hover = ExtResource( 4 )
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MusicVolume" type="VSlider" parent="Options"]
|
|
margin_left = 1.0
|
|
margin_top = 1.0
|
|
margin_right = 17.0
|
|
margin_bottom = 120.0
|
|
custom_icons/tick = ExtResource( 7 )
|
|
custom_icons/grabber_disabled = ExtResource( 7 )
|
|
custom_icons/grabber_highlight = ExtResource( 8 )
|
|
custom_icons/grabber = ExtResource( 7 )
|
|
custom_styles/slider = SubResource( 2 )
|
|
max_value = 1.0
|
|
step = 0.1
|
|
script = ExtResource( 6 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
bus_channel = "Music"
|
|
|
|
[node name="RightPanel" type="Panel" parent="."]
|
|
margin_left = 128.0
|
|
margin_top = 2.0
|
|
margin_right = 234.0
|
|
margin_bottom = 142.0
|
|
theme = ExtResource( 5 )
|
|
custom_styles/panel = SubResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Pot" type="Sprite" parent="."]
|
|
position = Vector2( 64, 136 )
|
|
texture = ExtResource( 9 )
|
|
|
|
[connection signal="pressed" from="Options/FullscreenButton" to="Options/FullscreenButton" method="_on_FullscreenButton_pressed"]
|
|
[connection signal="value_changed" from="Options/MusicVolume" to="Options/MusicVolume" method="_on_MusicVolume_value_changed"]
|