mirror of
https://git.kittycat.homes/BatHeartTiger/untitled-plant-game.git
synced 2024-08-15 03:16:27 +00:00
123 lines
3.8 KiB
Text
123 lines
3.8 KiB
Text
[gd_scene load_steps=18 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]
|
|
[ext_resource path="res://Font/pixeloid-font/PixeloidMono-1G8ae.ttf" type="DynamicFontData" id=10]
|
|
[ext_resource path="res://World/Terminal.gd" type="Script" id=11]
|
|
|
|
[sub_resource type="Theme" id=7]
|
|
|
|
[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
|
|
|
|
[sub_resource type="CanvasItemMaterial" id=3]
|
|
|
|
[sub_resource type="DynamicFont" id=4]
|
|
size = 8
|
|
extra_spacing_char = 1
|
|
font_data = ExtResource( 10 )
|
|
|
|
[sub_resource type="StyleBoxFlat" id=6]
|
|
content_margin_left = 2.0
|
|
content_margin_right = 2.0
|
|
content_margin_top = 2.0
|
|
content_margin_bottom = 2.0
|
|
bg_color = Color( 0.14902, 0.0431373, 0.129412, 1 )
|
|
border_color = Color( 0.517647, 0.745098, 0.929412, 1 )
|
|
|
|
[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 = SubResource( 7 )
|
|
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 = SubResource( 7 )
|
|
custom_styles/panel = SubResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Terminal" type="RichTextLabel" parent="RightPanel"]
|
|
material = SubResource( 3 )
|
|
margin_left = 1.0
|
|
margin_top = 1.0
|
|
margin_right = 105.0
|
|
margin_bottom = 120.0
|
|
theme = ExtResource( 5 )
|
|
custom_colors/default_color = Color( 0.94902, 0.988235, 0.878431, 1 )
|
|
custom_fonts/normal_font = SubResource( 4 )
|
|
custom_styles/normal = SubResource( 6 )
|
|
bbcode_enabled = true
|
|
scroll_following = true
|
|
script = ExtResource( 11 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Reveal" type="Timer" parent="RightPanel/Terminal"]
|
|
wait_time = 0.15
|
|
|
|
[node name="Pot" type="Sprite" parent="."]
|
|
position = Vector2( 64, 136 )
|
|
texture = ExtResource( 9 )
|
|
|
|
[connection signal="has_need" from="Plant" to="RightPanel/Terminal" method="_on_Plant_has_need"]
|
|
[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"]
|
|
[connection signal="timeout" from="RightPanel/Terminal/Reveal" to="RightPanel/Terminal" method="_on_Reveal_timeout"]
|