Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Reducing script lag

I have a lot of scripts in my game (over 100...':| ) And I was wondering if there was any way to reduce script lag? Really its not too terrible in the game, but using an options menu to change the window opacity and font color, well it slows the game down pretty badly.

Please, I do not want to hear "100 scripts is useless" "Well no wonder, so many scripts WILL cause lag!" Don't mean to sound rude, but I dont want your opinion, I want help.

Any suggestions?
 
It's not having 100 scripts causing the lag (well, maybe part of it, but the minor role).

It's a certain scripts or a few scripts that are causing the lag. Just put a

=begin
# The Script
=end

In your scripts (it comments them out disabling them) until you find some scripts that that are causing the problem.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top