If anyone has played a Castlevania game, you know what I'm talking about; more specifically the newer ones, such as Aria of Sorrow. Whenever you level up, the game freezes for a second or two to inform you that you have leveled up, and then it resumes the normal speed.
I was tinkering with it to see if I could perform the same operation by changing the world.tick_lag to something higher and then having a timer change it back. This, however, did not work. I forgot that even if you change the world.tick_lag, it still queues your input and then follows it up until the queue is empty.
The only other way I figured I could do this would be to program everything that runs in a loop to constantly check to see if the world is "frozen" and wait until it isn't any more. This would be the most obvious solution in my mind, but I just wanted to double check with your guys real quick and get your thoughts.
Thanks in advance.
Sep 15 2009, 11:56 am