Max_instances is effectively capped at 1025 (DEF-3780)

Ok. If you could expose the script limit in the next Defold release, I would really appreciate it. If it’s not something that can be or should be done, that’s alright. Since I currently don’t have any other options, I’m looking into using one “manager script” for the terrain. I only really need the terrain script on certain tiles that perform logic every frame, the others probably don’t need the script to stay, so I guess I could also have terrain tiles delete their script components unless they are one of the few tiles that need scripts.

By the way, it seems like allowing for large amounts of scripts might be a good idea, because people coming from engines like Unity might be used to doing things in a structure that uses large amounts of scripts, and it seems like something that Lua can probably handle since Unity compiled to HTML5 / JavaScript can handle quite an amount of scripts running in parallel.