I recommend you do not go down the path of parallel processes, not for the user input control. It can easily become much harder to control the input, weird special circumstance giving rise to hard-to-debug issues also becomes pretty likely.
Instead I recommend grabbing control and keeping it until you are ready to relinquish the control back to the player.
You can still use parallel process for animations and such, just let the single blocking event manage the control flow.
Let me give you an example of what I mean:
https://www.mediafire.com/file/7c7khcf1nxlmgv4/example-menu-control-scheme.zip/file
To try it out:
I hope the ideas within that example will help you ^^
*hugs*
- Zeriab
Instead I recommend grabbing control and keeping it until you are ready to relinquish the control back to the player.
You can still use parallel process for animations and such, just let the single blocking event manage the control flow.
Let me give you an example of what I mean:
https://www.mediafire.com/file/7c7khcf1nxlmgv4/example-menu-control-scheme.zip/file
To try it out:
- Create a new MV project
- Close MV
- Extract the contents of the zip-file into the root of the project. (where index.html reside)
- Overwrite all files
- You can now open MV and check out the example
I hope the ideas within that example will help you ^^
*hugs*
- Zeriab