Have buttons to do this or that is fine, but if we want to "centralize" everything in one place, using the least possible space, and having as many possibilities as possible, you only have one solution, use menus. The menus are everywhere, and are a great tool to have everything tidy in one place, so I started to work on a way to implement the "menus" within the game, and give that power of options, to Anyone who wants to use them.
For this purpose, I have created several regex commands, which allow you to move through the menus "UP&DOWN" and "LEFT&RIGHT".
Display Menu UP&DOWN
DOWN
UP
SELECT OPTION MENU
DISPLAY MENU WORKING
UP
SELECT OPTION MENU
DISPLAY MENU WORKING
For the UP function
Regex101 - online regex editor and debugger
For the DOWN function
Regex101 - online regex editor and debugger
For select the OPTION MENU
Regex101 - online regex editor and debugger
Code:
[REPLACEALL](.*()\n*)(\s{2})([a-zA_Z0-9]*)(\s{3})(.*)\n(#)([a-zA_Z0-9]*)(#)(\s{1})(.*\s*)()[WITH]$1$2$7$4$7$10$6
$3$8$5$11
For the DOWN function
Code:
[REPLACEALL](\#)([a-zA_Z0-9]*)(\#)(\s{1})(.*)\n{1}(\s{2})([a-zA_Z0-9]*)(\s{3})(.*)[WITH]$6$2$8$5
#$7#$4$9
For select the OPTION MENU
Code:
[REPLACEALL]([\s\S]*)(\#)([a-zA_Z0-9]*)(\#)(\s*)(.*)([\s\S]*)[WITH]$6
Display Menu LEFT&RIGHT
MOVE RIGHT
MOVE LEFT
SELECT OPTION MENU
DISPLAY MENU WORKING
MOVE LEFT
SELECT OPTION MENU
DISPLAY MENU WORKING
For the LEFT function
Regex101 - online regex editor and debugger
For the RIGHT function
Regex101 - online regex editor and debugger
For select the OPTION MENU
Regex101 - online regex editor and debugger
Code:
[REPLACEALL](\s{3})([a-zA_Z0-9]*)(\s{2})(\[)([a-zA_Z0-9]*)(\])(\s{2})[WITH]$3$4$2$6$3$5$1
For the RIGHT function
Code:
[REPLACEALL](\s{2})(\[)([a-zA_Z0-9]*)(\])(\s{2})([a-zA_Z0-9]*)(\s{3})[WITH]$7$3$1$2$6$4$1
For select the OPTION MENU
Code:
[REPLACEALL](\s*.*\s*)(\[)([a-zA_Z0-9]*)(\])(.*\s*)[WITH]$3
This is all for today, if someone does not know how to change / modify the regex commands to do something different, or use other characters, just ask the question in the post
I upload the templates for both menu designs, so you will only have to copy & paste them into your template folder, for more convenience.
Attachments
-
610 bytes Views: 10
-
881 bytes Views: 10
Last edited: