INTERFACE - Microgame Loop
This week I fixed the microgame loop completion system, in which when ends the microgame cycle, an interface appears in which tells you that you completed your progress and it is a different one depending on the institution. This system was achieved by putting two booleans in the microgamemanager code, in which marks if the microgame loop is completed.
There is a bool for the games of the clinic and another one for the civil registry, it was done this way because if only one boolean was made to mark the microgames, in when you entered another institution (after completing the microgames in the first one that entered) the interface was activated again, since according to the logic of a single boolean, the games would have already been completed. That is why I separated it into 2 and each one had its own process of completed microgames. I assigned this function to them after they returned to the institution where they were completing the microgames, where when they returned after the microgames the function was marked true.
Then, in another script, I call directly the microgamemanager, in where if the true of the completed cycle of the microgames is set to true depending on the institution, activates its respective interface making it visible by calling the Alpha of its CanvasGroup. As long as true is not set to true in the completed microgames function, this interface will have its alpha set to 0, making it not visible. This was done this way because if you only sent to call the interface to activate it, the reference was lost because when trying to look for the interface it was deactivated from the code in the start and when the player returning to the scene the start was restarted, so it could never be activated, therefore it was not visible.
transition
Status | In development |
Authors | transition dev, MATHEO.FG |
Genre | Educational, Puzzle, Role Playing, Simulation |
Tags | Isometric, LGBT, minigames, Narrative, Singleplayer, Transgender, Unity |
Languages | English, Spanish; Latin America |
More posts
- Textures & UV Mapping7 days ago
- WE HAVE ANIMATIONS! : Idle, Run... AND MORE!8 days ago
- PlayerDialogue -Tunel Scene14 days ago
- POLISHING - City14 days ago
- Weight Paint: Principal Characters & Npc's15 days ago
- NOW OUR PRINCIPAL CHARACTERS HAVE TEXTURES!25 days ago
- City Models - Principal Institutions28 days ago
- PlayerDialogue -City Scene28 days ago
- NARRATIVE DESIGN: Act.I The Introduction.28 days ago
- [NEW] Microgame - LostInTheClinic29 days ago
Leave a comment
Log in with itch.io to leave a comment.