Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
BlackDove

Battle Text Window Lag

Question

I'm not sure if anyone else has this problem (and pardon me if this has been discussed a billion times), but for some reason whenever I make a text window appear in a battle, the game slows down pretty dang bad. Sometimes it runs perfectly smooth though. Anyone know the cause/remedy for this?

 

Example (pardon the crazy alien jargon):

 

BymgabithBattle.jpg

 

 

Thanks,

BlackDove

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Line 222 in Scene_Battle 1

if $game_system.battle_interpreter.running?

 

Change it to this:

if $game_system.battle_interpreter.running? && !@message_window.visible

 

The section will look like this after the edit:

  def update
   # If battle event is running
   if $game_system.battle_interpreter.running? && !@message_window.visible
     # Update interpreter
     $game_system.battle_interpreter.update

 

*hugs*

Share this post


Link to post
Share on other sites
  • 0

After doing some more experimentation (and inserting that code, thanks!), the lag only seems to kick in now when I have 3 or 4 party members... otherwise it's totally smooth. Any idea what's causing this?

Share this post


Link to post
Share on other sites
  • 0

After doing some more experimentation (and inserting that code, thanks!), the lag only seems to kick in now when I have 3 or 4 party members... otherwise it's totally smooth. Any idea what's causing this?

I only had this problem on a lower end computer. On my higher end computer i haven't had this problem at all.

Share this post


Link to post
Share on other sites
  • 0

Without looking into it I'd guess the lag is caused by the message window being refreshed unnecessarily often. Like the contents being redrawn every frame instead of just when changes occur.

Share this post


Link to post
Share on other sites
  • 0

have you tried downloading and adding an anti lag script to your project? not sure if the anti lag script will actually help with this problem but hey it might?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...