Can't move while running parallel process

Hey there guys,


It's been a while since I posted over here so I hope it's the right section ;D


I tried to setup some ty clock that would display at all times, but I got kinda stuck on the timer.


When I activate the parallel process that is supposed to add one minute I can't move. Well, I hope I'm not mistaken, but


wasn't you supposed to be able to move while running parallel proc.?


Can somebody explain me why? ;D


-Thanks a lot!


Here's the common event:

Spoiler
305eda9092fd4c41a4dbd1bf13cfc130.png



Edit: Solved the problem by replacing Timer with Wait, but still I gotta know - why does not Timer allow you to move?
the timer has nothing to do with this - you couldn't move because you were missing the waits.


Starting the timer is nothing but that, a start of the independend timer and you never checked that timer - which basically mean that your event lagged because it counted up the time variable sixty times per second.
Ooooh, so that's the reason, lol, thanks for that ;D


I'll be more carefull next time, didn't used RPG maker for a long, long time ;D
So I wanted a little quick question about few things about this event..


I noticed that there is kinda bigger lag when it's running since it's parallel (Well, my computer lags as fudge all the time, but doesn't matter now...).
So the question is if extending the gap (the Wait I added in place of timer) for example from 60 (1s) frames to 120 (2s) frames


will help reduce the lag?


Also, I was just wondering, what is the timer for? I know I could google it, but since I already reopened the topic... ;D


-Thanks!
1) the wait tells the computer to skip this parallel process for a number of frames. if you have not enough waits, the PP will be processed extremely often and that will cause lag (real lag). If on the other hand you have too many wait, the function of the PP will not called until that time has passed and that will look like a slowdown (false lag), but is simply the result of the PP not running often enough.


60 frames is already a lot of waits (usually a wait(10) is enough). If that still lags, the lag is caused by something else and adding more waits will not change that.


2) the timer is for giving the player time to do something, and then later check if the task was completed before the timer was up - that's what the conditional branch is about.
Ok, tahnks!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/cant-move-while-running-parallel-process.66523/