I want to create a new event that will create a new layout and some mixed of sprites in it.
Any idea on this one?
this is an open ended ?
on event goto layout.
on event system create objects at X,Y
Develop games in your browser. Powerful, performant & highly capable.
i want to create new layout.
Not existing one.
so if you want to create a layout that does not exist.
You would probably want to create it on a layer where Layer 2 is invisible on event create object on layer 2 and set layer visible.
other things will also need to be done.
like set other layers to invisible on event and destroy object on start of layout.
You can not create a layer or layout with out first loading objects in the game. Thus the destroy on start of layout.