Creating a layer at runtime

0 favourites
  • 1 posts
  • Hi folks!

    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 :)

    Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)