I'm working on a project template for my games, and I noticed I could make it even more moddable if I was able to create a layer at runtime. It's not a big deal, but I figured it could be nice. So, anybody else thinks the same? Is it even possible? :)
For example: I'm making a Alert box (a simple "Are you sure? Y/N" box for user confirmation). I've decided to the whole creation, animation, and commands in a separate event sheet. However, to make it work perfectly, I have to create a layer "Alerts" on the layouts I include the event sheet, so I don't get problems with Z-ordering.
Like I said, creating a layer for this is simple, and I wouldn't propose this feature solely on this, but I imagine creating a layer at runtime could be useful :)
Develop games in your browser. Powerful, performant & highly capable.