Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Rpgmaker 2003 Picture Lag Problem.
« previous next »
  • Print
Pages: [1]

Author Topic: Rpgmaker 2003 Picture Lag Problem.  (Read 4653 times)

Offline Kosanami

  • A Person!!
  • Initiate
  • *
  • Posts: 6
Rpgmaker 2003 Picture Lag Problem.
« 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!

Logged

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
Re: Rpgmaker 2003 Picture Lag Problem.
« Reply #1 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?
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline drenrin2120

  • Global Moderator
  • Sage
  • *
  • Posts: 6,101
Re: Rpgmaker 2003 Picture Lag Problem.
« Reply #2 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.
Logged

Offline Kosanami

  • A Person!!
  • Initiate
  • *
  • Posts: 6
Re: Rpgmaker 2003 Picture Lag Problem.
« Reply #3 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
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Rpgmaker 2003 Picture Lag Problem.
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum