forked from Coms/TranslationThrive
add others files (partly)
This commit is contained in:
parent
66433c81ae
commit
30d8a5072a
224
project.godot
Normal file
224
project.godot
Normal file
@ -0,0 +1,224 @@
|
||||
; Engine configuration file.
|
||||
; It's best edited using the editor UI and not directly,
|
||||
; since the parameters that go here are not all obvious.
|
||||
;
|
||||
; Format:
|
||||
; [section] ; section goes between []
|
||||
; param=value ; assign values to parameters
|
||||
|
||||
config_version=4
|
||||
|
||||
_global_script_classes=[ ]
|
||||
_global_script_class_icons={
|
||||
|
||||
}
|
||||
|
||||
[application]
|
||||
|
||||
config/name="Thrive"
|
||||
config/description="Thrive is an open source evolution simulation game.
|
||||
Play as a microbe on an alien world trying to survive and adapt to your surroundings in order to thrive.
|
||||
|
||||
https://revolutionarygamesstudio.com/"
|
||||
run/main_scene="res://src/gui_common/MainMenu.tscn"
|
||||
config/use_custom_user_dir=true
|
||||
config/custom_user_dir_name="Thrive"
|
||||
boot_splash/image="res://assets/misc/thrive_logo_big.png"
|
||||
boot_splash/bg_color=Color( 0, 0, 0, 1 )
|
||||
config/icon="res://assets/misc/icon.png"
|
||||
config/windows_native_icon="res://assets/misc/icon.ico"
|
||||
|
||||
[autoload]
|
||||
|
||||
StartupActions="*res://src/engine/StartupActions.cs"
|
||||
SimulationParameters="*res://simulation_parameters/SimulationParameters.cs"
|
||||
Invoke="*res://src/engine/Invoke.cs"
|
||||
GUICommon="*res://src/gui_common/GUICommon.cs"
|
||||
SceneManager="*res://src/engine/SceneManager.cs"
|
||||
SaveStatusOverlay="*res://src/saving/SaveStatusOverlay.tscn"
|
||||
ColourblindScreenFilter="*res://src/engine/ColourblindScreenFilter.tscn"
|
||||
LoadingScreen="*res://src/engine/LoadingScreen.tscn"
|
||||
FPSCounter="*res://src/engine/FPSCounter.tscn"
|
||||
OverlayManager="*res://src/engine/OverlayManager.cs"
|
||||
TransitionManager="*res://src/gui_common/TransitionManager.cs"
|
||||
CursorLoader="*res://src/engine/CursorLoader.cs"
|
||||
ScreenShotTaker="*res://src/engine/ScreenShotTaker.cs"
|
||||
QuickLoadHandler="*res://src/gui_common/QuickLoadHandler.cs"
|
||||
Jukebox="*res://src/general/Jukebox.cs"
|
||||
TemporaryLoadedNodeDeleter="*res://src/saving/TemporaryLoadedNodeDeleter.cs"
|
||||
PostStartupActions="*res://src/engine/PostStartupActions.cs"
|
||||
|
||||
[debug]
|
||||
|
||||
settings/fps/force_fps=400
|
||||
|
||||
[display]
|
||||
|
||||
window/size/width=1280
|
||||
window/size/height=720
|
||||
window/dpi/allow_hidpi=true
|
||||
mouse_cursor/custom_image="res://assets/textures/gui/cursors/default.png"
|
||||
window/stretch/mode="2d"
|
||||
window/stretch/aspect="expand"
|
||||
|
||||
[editor]
|
||||
|
||||
search_in_file_extensions=PoolStringArray( "gd", "shader", "cs" )
|
||||
|
||||
[input]
|
||||
|
||||
g_move_forward={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_move_backwards={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_move_left={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_move_right={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_cheat_glucose={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":79,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_cheat_ammonia={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":76,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_cheat_phosphates={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":73,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_cheat_editor={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":80,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_zoom_out={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777347,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":5,"pressed":false,"doubleclick":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_zoom_in={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777349,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":4,"pressed":false,"doubleclick":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_toggle_engulf={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":71,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_fire_toxin={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":69,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":7,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
e_rotate_right={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":5,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
e_rotate_left={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":4,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
e_undo={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":90,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
e_redo={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":true,"meta":false,"command":true,"pressed":false,"scancode":90,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":89,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
e_primary={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
e_secondary={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":2,"pressed":false,"doubleclick":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
toggle_FPS={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777246,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_hold_forward={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":88,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
g_quick_save={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777248,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
quick_load={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777252,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
screenshot={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777255,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
[layer_names]
|
||||
|
||||
3d_physics/layer_1="Common"
|
||||
3d_physics/layer_2="Microbe"
|
||||
|
||||
[locale]
|
||||
|
||||
translations=PoolStringArray( "res://assets/locales/text.en.translation", "res://assets/locales/text.ru.translation" )
|
||||
|
||||
[logging]
|
||||
|
||||
file_logging/enable_file_logging=true
|
||||
|
||||
[physics]
|
||||
|
||||
3d/default_gravity=9.81
|
||||
|
||||
[rendering]
|
||||
|
||||
quality/driver/fallback_to_gles2=true
|
||||
environment/default_environment="res://default_env.tres"
|
313
src/gui_common/MainMenu.tscn
Normal file
313
src/gui_common/MainMenu.tscn
Normal file
@ -0,0 +1,313 @@
|
||||
[gd_scene load_steps=11 format=2]
|
||||
|
||||
[ext_resource path="res://src/gui_common/MainMenu.cs" type="Script" id=1]
|
||||
[ext_resource path="res://src/gui_common/thrive_theme.tres" type="Theme" id=2]
|
||||
[ext_resource path="res://assets/textures/gui/logo.png" type="Texture" id=3]
|
||||
[ext_resource path="res://src/general/OptionsMenu.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://src/gui_common/VersionNumber.cs" type="Script" id=5]
|
||||
[ext_resource path="res://assets/textures/gui/BG_Menu02.png" type="Texture" id=6]
|
||||
[ext_resource path="res://assets/textures/gui/BG_Menu01.png" type="Texture" id=7]
|
||||
[ext_resource path="res://assets/textures/gui/BG_Menu03.png" type="Texture" id=8]
|
||||
[ext_resource path="res://src/saving/SaveManagerGUI.tscn" type="PackedScene" id=9]
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "MenuSlide"
|
||||
length = 0.6
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("MenuContainers/MenuCenterContainer:rect_size")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 0.2, 0.3, 0.6 ),
|
||||
"transitions": PoolRealArray( 0.5, 2, 0.5, 0.5 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 1280, 505 ), Vector2( 1280, 0 ), Vector2( 1280, 0 ), Vector2( 1280, 505 ) ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("MenuContainers/MenuCenterContainer:anchor_top")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0, 0.2, 0.3, 0.6 ),
|
||||
"transitions": PoolRealArray( 0.5, 2, 0.5, 0.5 ),
|
||||
"update": 0,
|
||||
"values": [ 0.5, 0.7, 0.7, 0.5 ]
|
||||
}
|
||||
tracks/2/type = "method"
|
||||
tracks/2/path = NodePath(".")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/keys = {
|
||||
"times": PoolRealArray( 0.3 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"values": [ {
|
||||
"args": [ ],
|
||||
"method": "SwitchMenu"
|
||||
} ]
|
||||
}
|
||||
|
||||
[node name="MainMenu" type="Node"]
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_editor_description_": "The root and controller for the main menu"
|
||||
}
|
||||
ThriveLogoPath = NodePath("MenuContainers/LogoCenterContainer/Logo")
|
||||
MenuBackgrounds = [ ExtResource( 7 ), ExtResource( 6 ), ExtResource( 8 ) ]
|
||||
NewGameButtonPath = NodePath("MenuContainers/MenuCenterContainer/MenuItems/MainMenu/NewGame")
|
||||
FreebuildButtonPath = NodePath("MenuContainers/MenuCenterContainer/MenuItems/Tools/Freebuild Editor")
|
||||
|
||||
[node name="Background" type="TextureRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
expand = true
|
||||
stretch_mode = 7
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false,
|
||||
"_editor_description_": "Randomizeable background"
|
||||
}
|
||||
|
||||
[node name="MenuContainers" type="Node" parent="."]
|
||||
__meta__ = {
|
||||
"_editor_description_": "The UI for the main menu is contained here"
|
||||
}
|
||||
|
||||
[node name="LogoCenterContainer" type="CenterContainer" parent="MenuContainers"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -637.35
|
||||
margin_top = -360.0
|
||||
margin_right = 642.65
|
||||
margin_bottom = -72.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true,
|
||||
"_editor_description_": "Centering fo the Thrive logo"
|
||||
}
|
||||
|
||||
[node name="Logo" type="TextureRect" parent="MenuContainers/LogoCenterContainer"]
|
||||
margin_left = 556.0
|
||||
margin_top = 60.0
|
||||
margin_right = 723.0
|
||||
margin_bottom = 228.0
|
||||
texture = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="MenuCenterContainer" type="CenterContainer" parent="MenuContainers"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.85
|
||||
margin_left = -639.183
|
||||
margin_top = -145.0
|
||||
margin_right = 640.817
|
||||
margin_bottom = 108.0
|
||||
rect_clip_content = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false,
|
||||
"_editor_description_": "Centering for the menu items"
|
||||
}
|
||||
|
||||
[node name="MenuItems" type="Control" parent="MenuContainers/MenuCenterContainer"]
|
||||
margin_left = 640.0
|
||||
margin_top = 252.0
|
||||
margin_right = 640.0
|
||||
margin_bottom = 252.0
|
||||
theme = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_editor_description_": "All of the menu stuff goes here"
|
||||
}
|
||||
|
||||
[node name="MainMenu" type="VBoxContainer" parent="MenuContainers/MenuCenterContainer/MenuItems" groups=[
|
||||
"MenuItem",
|
||||
]]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -125.0
|
||||
margin_top = -150.0
|
||||
margin_right = 125.0
|
||||
margin_bottom = 190.0
|
||||
custom_constants/separation = 10
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="NewGame" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"]
|
||||
margin_right = 250.0
|
||||
margin_bottom = 40.0
|
||||
rect_min_size = Vector2( 250, 40 )
|
||||
focus_mode = 0
|
||||
mouse_filter = 1
|
||||
enabled_focus_mode = 0
|
||||
text = "NEW_GAME"
|
||||
|
||||
[node name="LoadGame" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"]
|
||||
margin_top = 50.0
|
||||
margin_right = 250.0
|
||||
margin_bottom = 90.0
|
||||
rect_min_size = Vector2( 250, 40 )
|
||||
focus_mode = 0
|
||||
mouse_filter = 1
|
||||
enabled_focus_mode = 0
|
||||
text = "LOAD_GAME"
|
||||
|
||||
[node name="Options" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"]
|
||||
margin_top = 100.0
|
||||
margin_right = 250.0
|
||||
margin_bottom = 140.0
|
||||
rect_min_size = Vector2( 250, 40 )
|
||||
focus_mode = 0
|
||||
mouse_filter = 1
|
||||
enabled_focus_mode = 0
|
||||
text = "OPTIONS"
|
||||
|
||||
[node name="Tools" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"]
|
||||
margin_top = 150.0
|
||||
margin_right = 250.0
|
||||
margin_bottom = 190.0
|
||||
rect_min_size = Vector2( 250, 40 )
|
||||
focus_mode = 0
|
||||
mouse_filter = 1
|
||||
enabled_focus_mode = 0
|
||||
text = "TOOLS"
|
||||
|
||||
[node name="Extras" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"]
|
||||
margin_top = 200.0
|
||||
margin_right = 250.0
|
||||
margin_bottom = 240.0
|
||||
rect_min_size = Vector2( 250, 40 )
|
||||
mouse_filter = 1
|
||||
disabled = true
|
||||
enabled_focus_mode = 0
|
||||
text = "EXTRAS"
|
||||
|
||||
[node name="Credits" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"]
|
||||
margin_top = 250.0
|
||||
margin_right = 250.0
|
||||
margin_bottom = 290.0
|
||||
rect_min_size = Vector2( 250, 40 )
|
||||
mouse_filter = 1
|
||||
disabled = true
|
||||
enabled_focus_mode = 0
|
||||
text = "CREDITS"
|
||||
|
||||
[node name="Quit" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"]
|
||||
margin_top = 300.0
|
||||
margin_right = 250.0
|
||||
margin_bottom = 340.0
|
||||
rect_min_size = Vector2( 250, 40 )
|
||||
focus_mode = 0
|
||||
mouse_filter = 1
|
||||
enabled_focus_mode = 0
|
||||
text = "QUIT"
|
||||
|
||||
[node name="Tools" type="VBoxContainer" parent="MenuContainers/MenuCenterContainer/MenuItems" groups=[
|
||||
"MenuItem",
|
||||
]]
|
||||
visible = false
|
||||
margin_left = -125.0
|
||||
margin_top = -150.0
|
||||
margin_right = 125.0
|
||||
margin_bottom = 90.0
|
||||
custom_constants/separation = 10
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Freebuild Editor" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/Tools"]
|
||||
margin_right = 250.0
|
||||
margin_bottom = 40.0
|
||||
rect_min_size = Vector2( 250, 40 )
|
||||
focus_mode = 0
|
||||
mouse_filter = 1
|
||||
enabled_focus_mode = 0
|
||||
text = "Microbe Freebuild Editor"
|
||||
|
||||
[node name="\?\?" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/Tools"]
|
||||
margin_top = 50.0
|
||||
margin_right = 250.0
|
||||
margin_bottom = 90.0
|
||||
rect_min_size = Vector2( 250, 40 )
|
||||
mouse_filter = 1
|
||||
disabled = true
|
||||
enabled_focus_mode = 0
|
||||
text = "???"
|
||||
|
||||
[node name="\?\?_2" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/Tools"]
|
||||
margin_top = 100.0
|
||||
margin_right = 250.0
|
||||
margin_bottom = 140.0
|
||||
rect_min_size = Vector2( 250, 40 )
|
||||
mouse_filter = 1
|
||||
disabled = true
|
||||
enabled_focus_mode = 0
|
||||
text = "???"
|
||||
|
||||
[node name="\?\?_3" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/Tools"]
|
||||
margin_top = 150.0
|
||||
margin_right = 250.0
|
||||
margin_bottom = 190.0
|
||||
rect_min_size = Vector2( 250, 40 )
|
||||
mouse_filter = 1
|
||||
disabled = true
|
||||
enabled_focus_mode = 0
|
||||
text = "???"
|
||||
|
||||
[node name="Back" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/Tools"]
|
||||
margin_top = 200.0
|
||||
margin_right = 250.0
|
||||
margin_bottom = 240.0
|
||||
rect_min_size = Vector2( 250, 40 )
|
||||
focus_mode = 0
|
||||
mouse_filter = 1
|
||||
enabled_focus_mode = 0
|
||||
text = "BACK"
|
||||
|
||||
[node name="OptionsMenu" parent="." instance=ExtResource( 4 )]
|
||||
visible = false
|
||||
|
||||
[node name="SaveManagerGUI" parent="." instance=ExtResource( 9 )]
|
||||
visible = false
|
||||
|
||||
[node name="VersionNumber" type="Label" parent="."]
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -298.0
|
||||
margin_top = -23.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 1
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 6
|
||||
theme = ExtResource( 2 )
|
||||
text = "x.y.z"
|
||||
align = 2
|
||||
valign = 2
|
||||
clip_text = true
|
||||
max_lines_visible = 1
|
||||
script = ExtResource( 5 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="GUIAnimations" type="AnimationPlayer" parent="."]
|
||||
anims/MenuSlide = SubResource( 1 )
|
||||
[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/MainMenu/NewGame" to="." method="NewGamePressed"]
|
||||
[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/MainMenu/LoadGame" to="." method="LoadGamePressed"]
|
||||
[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/MainMenu/Options" to="." method="OptionsPressed"]
|
||||
[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/MainMenu/Tools" to="." method="ToolsPressed"]
|
||||
[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/MainMenu/Quit" to="." method="QuitPressed"]
|
||||
[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/Tools/Freebuild Editor" to="." method="FreebuildEditorPressed"]
|
||||
[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/Tools/Back" to="." method="BackFromToolsPressed"]
|
||||
[connection signal="OnOptionsClosed" from="OptionsMenu" to="." method="OnReturnFromOptions"]
|
||||
[connection signal="OnBackPressed" from="SaveManagerGUI" to="." method="OnReturnFromLoadGame"]
|
1857
src/microbe_stage/MicrobeStage.tscn
Normal file
1857
src/microbe_stage/MicrobeStage.tscn
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user