0 votes
by (8.9k points)

I'm adding lots of variables to my game, and I'm very concerned about hitting a performance limit.  Some reading tells me that setting my "Config.history.maxStates" to 1 would be a sensible precaution.  But...how do I do this?

I literally do not know where to enter

Config.history.maxStates = 1;

 

1 Answer

+1 vote
by (63.1k points)
selected by
 
Best answer
Just place it in you story JavaScript (which is in the up arrow menu on the bottom left of the editing interface; should be the upper-most or second-upper-most option). If you have other JavaScript in there, I generally recommend placing the Config object settings near the top / first.
by (8.9k points)
Grrreat, thank you again!
...