Region Highlighting and Instruction Dialogs
Another weekend working on the Tribe Expansion Action. This time I worked on adding region hover highlighting and adding a custom instructions dialog to let players know what to do when the action requests the player to choose the target region.
Both things took more time than expected. Though the hardest by far was adding the instructions dialog because I wanted the text to come from the action script file as parameter to the region selection function. This required me to add extra functionality to the expression parsing system so that it could handle dynamic strings (which I uncreatively call 'mod texts'). While doing this, I almost fell into a rabbit hole trying to handle a very rare case where mod texts can't be parsed when using certain special characters. But I stopped myself after a few hours and decided to leave that rare case unfixed, given that it be easily worked around.
There's still quite a bunch of things to do before I can move on from Action scripts. It is clear now it's going to to take more time than expected. In any case, here's a gif of the region hover highlighting in action. This will let players more easily see which region they are clicking on, since some regions can be very small and region borders will be hard to see in those cases.
Get Worlds - History Simulator
Worlds - History Simulator
A world generator, and human history simulator
Status | On hold |
Author | DrTardigrade |
Genre | Simulation, Strategy |
Tags | Alternate History, Procedural Generation |
Languages | English |
More posts
- Extended HiatusOct 23, 2022
- Worlds 0.3.4.01 (minor update)Oct 03, 2022
- Worlds 0.3.4Aug 22, 2022
- Worlds 0.3.4 alpha 4 ready for closed testingJul 27, 2022
- Done Migrating Discovery Mod ScriptsJun 05, 2022
- Halfway through Alpha 4Apr 19, 2022
- Closed Alpha 3 StartMar 20, 2022
- The Last PartMar 15, 2022
- Closed Alpha 3 Participation FormMar 13, 2022
- Relationship Improving Action Done...Jan 04, 2022
Comments
Log in with itch.io to leave a comment.
nice