diff --git a/Scenes/GUI/EditorScreen.tscn b/Scenes/GUI/EditorScreen.tscn index 34d9c8f..b7f620c 100644 --- a/Scenes/GUI/EditorScreen.tscn +++ b/Scenes/GUI/EditorScreen.tscn @@ -288,19 +288,17 @@ grow_horizontal = 0 text = "Menu " flat = false -item_count = 6 +item_count = 5 popup/item_0/text = "New Showtape" popup/item_0/id = 0 popup/item_1/text = "Load Show" popup/item_1/id = 1 popup/item_2/text = "Save Show" popup/item_2/id = 2 -popup/item_3/text = "Controls" +popup/item_3/text = "Exit to Main Menu" popup/item_3/id = 3 -popup/item_4/text = "Exit to Main Menu" +popup/item_4/text = "Exit to Desktop" popup/item_4/id = 4 -popup/item_5/text = "Exit to Desktop" -popup/item_5/id = 5 [node name="SequencerPanel" type="Panel" parent="."] layout_mode = 1 diff --git a/Scenes/GUI/MainMenu.tscn b/Scenes/GUI/MainMenu.tscn index c2826f8..034f6f2 100644 --- a/Scenes/GUI/MainMenu.tscn +++ b/Scenes/GUI/MainMenu.tscn @@ -564,6 +564,23 @@ This project is not associated with CEC Entertainment LLC. or Creative Engineering Inc." horizontal_alignment = 1 +[node name="VersionLabel" type="Label" parent="."] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = -264.0 +offset_top = -40.0 +offset_right = -8.0 +offset_bottom = -8.0 +grow_horizontal = 0 +grow_vertical = 0 +text = "Pneumatic Plaything vX.X" +horizontal_alignment = 2 +vertical_alignment = 1 + [connection signal="pressed" from="Buttons/EditorButton" to="." method="_on_button_pressed"] [connection signal="pressed" from="Buttons/FreeRoamButton" to="." method="_on_free_roam_button_pressed"] [connection signal="pressed" from="Buttons/ModsButton" to="." method="_on_mods_button_pressed"] diff --git a/Scripts/EditorScreen.gd b/Scripts/EditorScreen.gd index 11de104..56609ff 100644 --- a/Scripts/EditorScreen.gd +++ b/Scripts/EditorScreen.gd @@ -162,12 +162,10 @@ func _showtape_menu_button_pressed(id: int) -> void: 2: #save if (showtape_loaded): $ShowtapeSaveScreen.visible = true else: $NoShowtapeLoadedDialog.show() - 3: # controls - $ControlsScreen.visible = true - 4: # exit menu + 3: # exit menu if (showtape_loaded): $ExitMenuOverwriteConfirmationDialog.show() else: get_tree().change_scene_to_file("res://Scenes/GUI/MainMenu.tscn") - 5: # exit desktop + 4: # exit desktop if (showtape_loaded): $ExitDesktopOverwriteConfirmationDialog.show() else: get_tree().quit() diff --git a/Scripts/MainMenu.gd b/Scripts/MainMenu.gd index 4709dc4..3623397 100644 --- a/Scripts/MainMenu.gd +++ b/Scripts/MainMenu.gd @@ -3,6 +3,7 @@ extends Control func _ready(): OS.request_permissions() randomize() + $VersionLabel.text = "Pneumatic Plaything v%s" % ProjectSettings.get_setting("application/config/version") $Backgrounds.get_child(randi() % $Backgrounds.get_child_count()).visible = true var moddir = DirAccess.open("user://Mods") diff --git a/UI/logo.png b/UI/logo.png index 11ffc6a..07468c5 100644 Binary files a/UI/logo.png and b/UI/logo.png differ diff --git a/UI/logo_prototype.png b/UI/logo_prototype.png new file mode 100644 index 0000000..11ffc6a Binary files /dev/null and b/UI/logo_prototype.png differ diff --git a/UI/logo_prototype.png.import b/UI/logo_prototype.png.import new file mode 100644 index 0000000..db7c38a --- /dev/null +++ b/UI/logo_prototype.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dg456qc8q7g41" +path="res://.godot/imported/logo_prototype.png-b48e68e1e5cc609b09dc1f21c0861d46.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://UI/logo_prototype.png" +dest_files=["res://.godot/imported/logo_prototype.png-b48e68e1e5cc609b09dc1f21c0861d46.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1