Mobile Menu + Shop
(Android, IOS, Switch, Windows, etc.)
Unreal Engine Tutorial
(Android, IOS, Switch, Windows, etc.)
Unreal Engine Tutorial
How to use?
Use the default MainMenu map in your project
How to choose your map to start a new game or continue?
Open the W_MainMenu widget
Change the name of the map to your map (see screenshot)
How do I use my save game?
If you plan on using an existing save system, see the example in the "ExampleMap" Level Blueprint
If you plan to use your own save system, then in the W_MainMenu widget for the new game event, clear your slot.
Explanation: At startup, it checks if a save exists with the name of the slot, if not, then the continue button is not available. When you start a new map on your Begin Play, the save should be loaded automatically. If there are no saves, then they are automatically created and you can use the data from the default variables. If you had a save, then the parameters will be the last. Therefore, you need to start a new game on the button, you must clear the old save.
How do I add my own variables to the save game?
If you are using saves included in the project, then open BP_SaveGame and add new variables and call them later.
How can I integrate Mini menu?
The project includes a Mini menu for accessing during the game. To add to the game see an example in the "ExampleMap" Level Blueprint.
Add Bind for the save and close button of the mini menu (see screenshot)
How do I add new parameters to the settings?
Open SSettings and add new variables as needed.
Open W_SettingsMenu go to Graph and open the LoadSaveGame function and bind a variable to the action it performs. Open the SaveSaveSettings function and bind back.
Don't forget to add a widget element and bind an action to it too, with a call to the SaveSaveSettings function at the end.
How do I change links?
How do I add new languages?
Learn how to use the Localization Dashboard yourself, I will tell you how to add a new item to the menu.
Attention, enter the correct code for your language in the first line, this is necessary for correct work. (en - english)
How do I call a notification?
Works anywhere as it uses the Blueprint Function Library
Why isn't my sound muted through settings?
For sound settings to work, you need to set Sound Class for Wave and Cue. Choose for class Effects sounds, for Music music.
If your music does not turn back on, then try setting the parameter from the screenshot.
FAQ
If your map does not load on your mobile device after clicking new game, then make sure you add the map to the package list.
If you have configured and added new localizations, but they do not work on a mobile device, make sure you select the required languages in the settings.
How to use shop?
To add a new item to the store, open "DT_ShopElements" and add a new item.
If you do not have new items in the store, then delete the save file.
If you want to add a purchase effect, then go to the "ExampleMap" Level Blueprint and see the included example.
If, for example, you want to remove ads from the game, then use the loading of saves and the application of effects on the MainMenu map also at the start of the game and choose whether to enable ads for you or not.
Add a new item with the ID of your effect from the store.
The pins from the screenshot give the item ID and the purchased quantity.
Since the example uses the game currency, then perhaps in the game you will need to buy it, for example, through Google Play services, then use the plus button and connect the functions of buying a new currency, if successful, add the required amount of currency.
How to integrate
Still have questions?
If you have any questions, please write to me by mail: myalreadyday@gmail.com