#✅ | Pre-Screen Page Main Menu

1 messages · Page 1 of 1 (latest)

minor karma
#

Is it possible, through a menu, to make it so that every time I open the modpack (the game), before showing the main menu, it displays another screen covering it, with a logo and a ‘press any key to play’ message, and when clicked, it closes that screen and reveals the main menu?

unique kettleBOT
# minor karma Is it possible, through a menu, to make it so that every time I open the modpack...

Hello there! That's a super cool idea for a modpack intro! ✨

Yes, you can absolutely achieve something like that with FancyMenu! Here's a general approach based on the documentation:

  1. Create a Custom GUI for your Intro Screen:
    You'll want to make a completely new screen that will act as your intro. You can do this by going to Customization -> Custom GUIs -> Manage Custom GUIs and clicking New GUI. Give it a unique identifier.

  2. Design your Intro Screen:
    Open your newly created custom GUI. Then, create a new layout for it. In this layout, you can add an Image element for your logo and a Text element for the "Press any key to play" message.

  3. Make the Intro Screen Close on Click:
    To make the screen close and reveal the main menu, you'll need to add an action. You could either add a Button element that covers the entire screen, or add a Ticker element that checks for a key press.

    • If using a Button: Set its size to cover the whole screen. Its action script would use the Close Screen (closegui) action.
    • If using a Ticker: A Ticker can continuously run an action script. You would add an IF Statement to its action script with an Is Key Pressed condition. If the condition is met (e.g., any key is pressed), the action to Close Screen (closegui) would run.
    • Action Scripts
    • Conditions (Loading Requirements)
#
  1. Automatically Open your Intro Screen upon Game Launch:
    You can use the Game Intro feature. This lets you play animated content before the game shows the Title screen for the first time. While it primarily mentions APNGs and GIFs, you can use a custom GUI in conjunction with it. You would typically set an action in the custom GUI itself to close after a certain event (like a click) and then automatically open the title_screen.

  2. Set Main Menu to Open After Intro:
    In your created Custom GUI, the action that closes it (closegui) will effectively return you to the previous screen, which would be the Title Screen (Main Menu).

This setup would require some trial and error to get the timing and interaction just right, but it's definitely within FancyMenu's capabilities! Let me know if you have more questions as you build it. 😊

unique kettleBOT
#
Thread Marked as Solved

This support thread has been automatically marked as solved because there were no new messages for at least 24 hours.

If you still need help, feel free to continue the conversation or create a new support thread.