How to create a new level?

so i wanna create a new level in my game but i dont know how to start that, and i dont know how to make the game go to the next level after a certain number of enemies are killed, any help? [import]uid: 10827 topic_id: 3833 reply_id: 303833[/import]

@izzthetruth

Good question. There is no easy way to do this in Corona. You have to manually implement it!
In Corona, you can find facebook support but not a …Scene Manager. Isn’t that cool?

A user has provided a nice module for doing scene management, for the time being. See the Director module in code exchange: http://developer.anscamobile.com/code/director-class-10
After playing with this module, be sure to note somewhere that there are some memory-management issues remaining to be solved (listeners, timers) for an outgoing scene to not leave garbage behind it. This is something significant if you don’t want crashes in your game. Stay tuned for a solution.

Also, join the “Ansca, we need an official Scene Manager” revolution movement, here in the forums. Don’t hesitate to raise your voice wherever possible, if you want to see this soon implemented.

See you inside… [import]uid: 7356 topic_id: 3833 reply_id: 11653[/import]


Also, join the “Ansca, we need an official Scene Manager” revolution movement, here in the forums.

Agreed. [import]uid: 9371 topic_id: 3833 reply_id: 11686[/import]

Define “level” though. A new level could just mean changing a few variables, settings etc ie think of a level in bejeweled.

What do you actually want a scene manager to do? [import]uid: 6645 topic_id: 3833 reply_id: 12052[/import]