The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => VXA Event Systems => Topic started by: Nessiah on March 08, 2012, 09:48:44 PM

Title: [VXA-Exclusive] Parallel Process "Fix"
Post by: Nessiah on March 08, 2012, 09:48:44 PM
My Parallel Process Event won't run whenever I'm talking to somebody!
or really, whenever Show Message is visible.

Why?

The reason why this happen is because of how RMVXAce handles event processing. This is due to Fiber.yield. It's going to be a long explanation and the only way to "Fix" this is to rewrite the game interpreter or the message system. But fret not, there's a way to fix this!

Why should I be concerned?

If you like making animated events through parallel processes, they would stop whenever a message box is visible! Now you must be wondering like, why can't I just use Events to animate things? Well my friend, my beta testing days says otherwise that this is...going to be hard. Allow me to show a video:

<a href="http://www.youtube.com/watch?v=UZwoSQ2XMqA" target="_blank">http://www.youtube.com/watch?v=UZwoSQ2XMqA</a>

See how in the first half the waterfalls are animating nicely? Wait for Tiny Ralph to go down the map and there’s a new set of waterfalls not animating nicely. Now Ralph will go up again and then the waterfalls are now NOT animating nicely.
Does not happen in RPGMaker VX/XP

Going left/right out of sight and straight back makes no difference because they're all loaded at the same time, but going up or down makes one load at a time.

How to fix?

Just put the commands of the parallel process event inside a loop (yes! Loops work now!) or use labels. It will run normally~

(http://i.imgur.com/1yKYa.jpg)
Title: Re: [VXA-Exclusive] Parallel Process "Fix"
Post by: modern algebra on March 08, 2012, 11:25:07 PM
That's a very useful tutorial Nessiah and you explained it quite nicely. Thank you for sharing!