Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: Kosanami on November 19, 2010, 02:34:55 AM

Title: Rpgmaker 2003 Picture Lag Problem.
Post by: Kosanami on November 19, 2010, 02:34:55 AM
http://www.youtube.com/watch?v=L73ZJoVNzjE

Just a quick question if anyone else has had this problem, but Does anyone here know how to reduce or at least get rid of the lag when moving or showing animations with pictures on the map? I'm trying to do a somewhat CBS. For the health bars and picture in the top left is only a combination of a total of two pictures, please and thanks!

Title: Re: Rpgmaker 2003 Picture Lag Problem.
Post by: Prpl_Mage on November 19, 2010, 12:14:52 PM
I'd say the wait 0,0 second could solve some things here.
But I have no idea how your code looks, is your interface a common event or a paralell process? Also does the conditional branches holding up have else commands?
Title: Re: Rpgmaker 2003 Picture Lag Problem.
Post by: drenrin2120 on November 19, 2010, 12:51:35 PM
Some things you can do to reduce lag.

At the end of every parallel process, and/or at the end of every loop inside a parallel process, add a wait 0.0. That should be all you need to do with wait 0.0.

Use "show picture" commands sparingly, "move picture" commands won't create as much lag.

A large amount of parallel processes active can cause lag, so, if you can, condense as much of your coding to as few parallel processes as you can.

Those are some of the major things you can do to reduce lag. Its funny tho, besides the show picture command, its not that rm2k3 is lagging, it's just whipping through the code so unnecessarily fast.
Title: Re: Rpgmaker 2003 Picture Lag Problem.
Post by: Kosanami on November 19, 2010, 10:30:34 PM
Thank you Drenrin and Prpl_mage that was the one part of the code that I needed for it work. =P