What to do when the number of labels exceeds the limit? (SOLVED)

#1

I am using cards that have several label objects on them. My most complex card has 15. When I add 5 of them I get the following error.

ERROR:GAMESYS: Label could not be created since the label buffer is full (64).

I know I can bump the limit, but assuming that this limit is there for a reason I was wondering how I could avoid this problem. Most labels (13) on the card are static so I am thinking of using the screenshot module to produce pictures from them and use those as sprites, and only replace them with the full game object when needed.

Is there any other solution for this problem?

1 Like

#2

It is safe to increase that number.
We preallocate many of our systems upfront for performance reasons.

0 Likes

#3

Thanks @Mathias_Westerdahl

0 Likes