Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Script lag

Started by Dark Dragon X, March 16, 2007, 08:07:05 PM

0 Members and 1 Guest are viewing this topic.

Dark Dragon X

OK I was scripting...and then I finally was making the last thing in my very first script...
and then a horrible thing happened, it was a CMS, and when it was activated the game started lagging..;-;
it went from 39fps to 9 fps I guess..I need some help 'ere

Blizzard

There are several things that can cause lag. There's a topic about this somewhere. You should post there instead of making a new thread.

Also, specifically it could lag, because you are re-drawing the windows all the time and/or having many windows created, but turned the just inactive/invisible. Every extra window needs some CPU and every window redraw needs time to be completed. So if you constantly re-draw (also called refresh), lag will increase immensely.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Dark Dragon X

Thanks for the explaination Blizz, I actually just solved the problem..
looks like when I didn't identify the font, the program got confused or somthin..
OR editing a window from another class made the problem..I'm not sure, maybe neither..
anyway I was cursing RGSS for 1 hour now..I guess I this emptied my hatred of RGSS...well for now XD..
Thanks again.

Blizzard

Alright then. Have a good time on the forum. ^__^
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

:)

THis looks solved, add [RESOLVED] to topic title.
Watch out for: HaloOfTheSun