Finished a mockup menu to showcase simple settings you can adjust in the game, either in the menu or at any time on the game however you desire, the functions and the way I do it will be in the testing project, you can come up with anything you like in the menu tho.
This is a very simple made menu, transition don't exist in some options, that was intentional, I made the menu quickly just to showcase the features and stuff my engine comes from and how you can make the menu for basic settings.
The resolution part of the menu is done in a way that it tries to fit in 640x480 multiples, like 1280x960 (being x2 window size) and if it goes beyond your screen size, it then goes fullscreen, this is the order I choosed, but you can separate the fullscreen in a separate option, it's up to you. Although the order of the resolutions is done like that in code, there's no 960x720 maybe I should add that too, but idk, let me know in the comments.
The volumes are in a range of 0 and 100 inclusive, and the border toggles are now in the menu, you can easily replicate this menu in a more simplier way on the player menu on the overworld to adjust things in game too if you want to.
There was a little bug with the fullscreen being saved in the resolutions menu and saving it as you being in fullscreen even when you were not really and if the game relaunched the setting would put you on fullscreen again, it is in the video but I fixed it so no worries.
There's also a languages option to change language in the game, this is a feature I did built since the engine started being made to account for translation in your games, there are external files that are named on the language and contain all the text in that language, out of laziness tho of course the "spanish" language is not really a fully translation in spanish (even tho I tried with AI cause I'm that lazy, wasn't successful) but it showcases the potential of it, please never hardcode your dialogs, some people would like to translate your game and without having to look at various dialogs dispersed in several scripts, just give them those files and it should be easy to do, it requires minimum setup to add languages.
That pretty much covers this devlog, more to come, more documentation, there are some features that have not been tested yet, and I will be testing them, later! ^^















2 comments