Dog In Da Grass wrote:Is there any way of overcoming the 20k block limit for a level?
It's actually a 16383 block limit beyond which it'll crash. Apparently the limit used to be smaller, and at one point Regedit tried to make it 20k but made the mistake leaving it as a 16-bit signed integer, limiting it to 16383 actually.
There's not much of a way to overcome that with Lua code easily no.
I've looked into having LunaDLL make modifications to the SMBX code to make it actually 20k instead of 16.3k
I've already done a similar-ish (though slightly different) thing for the warp limit after all (from 200 to 2000)
It's quite a bit of work though, due to how the limiting factors are strewn about. In other words, it might happen eventually, but don't count on it being any time soon.
A level with >16383 blocks is kind of not the best idea anyway though IMO. For people running slower computers the risk of running into slowdown does increase as you push such limits. Besides, one can make use of either re-skinned 4x4 blocks or reskinned resizable blocks to massively cut down on block count in most cases.