Freeze or pause game without greying out buttons?[SOLVED]

Started by tilapisha, Sun 12/03/2023 08:05:16

Previous topic - Next topic

tilapisha

I have a Wordle game in my game. When the player guesses the Wordle correctly, the letters turn green and the GUI panel closes. This happens basically simultaneously, so the user cannot see the letters turn green.

Is there a way to implement a pause or wait?

I tried using Pause and UnPause, Wait, creating an invisible animation, SetTimer/isTimerExpired and even writing my own for loop counter, but all of these did not work. The buttons or the whole screen has a filter of gray on them for the pause or wait functions. The for loop and timers just didn't do anything.

I think the timer will work, but it is only checking once if the timer is expired instead of repeatedly.

SOLUTION: I set the timer in the function, and then in repeatedlyexecute, I was checking if it was completed. 

Snarky

For the graying out part, that's a project setting. It's called something like "When game is paused, GUIs should display... (grayed out/normally)"

SMF spam blocked by CleanTalk