Creating a layer at runtime

Discussion and feedback on Construct 2

Post » Mon Jul 23, 2012 12:54 pm

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

Posts: 456
Reputation: 13,152

Return to Construct 2 General

Who is online

Users browsing this forum: aldoalvarado, Silverforce, spritmator and 5 guests