Max sprite count exceeds max value
Closed this issue · 2 comments
rgrams commented
Trying to build and run from the editor on Windows, it crashes with this error:
ERROR:GAMESYS: Max sprite count (30000) exceeds max value (16384).
rgrams commented
1ccbe58 👍
I'm curious though, is this a new limit? I could have sworn I had tested things with more than 16384 sprites before.
britzl commented
Yes, this is a change introduced in 1.2.119 as a result of the sprite optimisations done. We have changed to indexed vertex buffers (instead of triangle lists) which has a limit of 65536 bytes which translates to 16384 sprites.