Main Menu Customization

Kratus

OpenBOR Developer
Staff member
This script is a small part of a project I'm working on, focused on creating "skins" for the OpenBOR main menu. This way we can create special effects like resize, zoom, movements, spawning additional effects and others

All you need to do is to copy the menuScreen script to your updated.c event, and that's it. After that, you are able to change the entire main menu position or scale without using complex tricks like editing the translation file.

You can get the files here:

Here's a demo:

Any new suggestion or bug report are always welcome :)
 
well, it also moves config menu to the side which is undiserable ( because some elements go offscreen), id separate it so each submenu has own offsets or at least an option to keep default middle positions.
Most of the time i just wanted to get rid of hall of fame and how to play , then move the remaining stuff to letf or right so it doesnt look like template openbor mod.
Also im not sure if its doable but "allign to left" or right would help to keep some elements going offscreen when you want menus on sides and solve all the issues.
 
Last edited:
well, it also moves config menu to the side which is undiserable ( because some elements go offscreen)
It depends on the main menu layout, the modder can freely adjust both position and zoom in this case. I'm using this code on some high resolution games in which the font is small and the menu fits well at the left side of the screen, together with an animated background that takes both the center and right side.

Currently you can adjust the alignment by editing the translation file, and together with this script you have a good customization potential.

In fact this code is a small part of a big script I'm working on to create skins for the main menu. This way the modder will have more customization options instead of only to change the position.
 
  • Like
Reactions: ABK
yeah im using it, i also have another method by utunnels, a stage called title.txt so you skip to it at the start, it creates fake title screen and you can adjust the menus there as well, i might post it in separate topic to not derail this one, your method is simpler tho, less values to adjust.
 
Back
Top Bottom