Is There Such Thing as Too Many Scripts?

I have over 250 scripts in my game. Is having this many scripts going to make the game perform poorly? Also, I am nowhere near finished with my game, so there will probably be more scripts added.

2 Likes

Well im guessing that your game will start lagging a lot and soon be unplayable if you have too many scripts in it. You can probably add more but soon people will not want to play your game because of how laggy it is!

Edit: Like others are saying it is also about what is in the scripts.

It depends on what type of game it is. If it’s a big game with lots of interactions, then it may be enough but if it’s a game without a lot of interactions then yes, it is a lot.

Edit: It probably will make your game laggy if there are many events happening at the same time.

2 Likes

The number of scripts by themselves doesn’t contribute to lag, only clutter. Even the number of lines doesn’t tell you how laggy it will be. It’s what the scripts do, and if you can do it better.

It doesn’t lag at all even on ten graphics quality, so I think I’m good for awhile.

Ok you should be fine adding more then!

1 Like