I'm working on my first game ever! So far i've created a basic game with a win condition and a lose condition. What I would like to do is to create multiple levels. What is the best way to do this? Should I create multiple lay-outs with the same Event sheet linked? If so, how can I set variables for that level like the number of enemies etc?
Thank you very much!
If you use multiple layouts, you can put a text or an instance variable to set value to determine how much enemies you want on the level. So the event sheet remain the same for all layouts level.
Thank you alextro! Can you give me an example how I would do that? Is there a way to detect wich layout is active? For example: if layout x is active then number of enemies = x?
Here it is : https://dl.dropboxusercontent.com/u/659 ... umber.capx
To define a value based on level iteration, first you need a list such as 3,7,4,9,11,2,7. Then you use tokenat as an input to determine which number is picked based on current active level.
Develop games in your browser. Powerful, performant & highly capable.