Randomizing Levels
I want to be able to Random the levels/scenes that load in my game - I have an attibute that sets the maximum number of levels be it a Quick game (5 levels) and a Long Game (20 levels). This attribute works fine but I want to make each game different by having it load random levels and not repeating them - can I do this by using Tables in any way or coding?
I know I could use %2 for 2 different options when using an integar but how do I link this to different unrepeated levels per game?
Any help would be much appreciated.
Thanks.
I know I could use %2 for 2 different options when using an integar but how do I link this to different unrepeated levels per game?
Any help would be much appreciated.
Thanks.
Answers
http://gshelper.com/random-scene-generator-gamesalad-video-tutorial/
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
but i have one problem - my click to continue is another actor that appears in the midde of the screen afterwards so i cannot set the 'what scene am i'?
Unless I make this actor multiple times for each scene which I don't really want to do.
can i set this within the code, so change attribute, would that work?
maybe there is a workaround such as creating a game attribute which is set per level and then changing the what scene am i attribute based on this game - a bit of extra coding but only needs to be done once
Comments welcome!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Also, anyone know how to import now into the Windows version? I can edit better using my windows machine rather than my Mac
Working with attributes is still not identical to working with tables, as an example, in expression and rules only attributes can be on the left side.
So I set the volume level to say .5 in options, it saves the attribute and when I start the game it loads the vollevel attribute, etc I use it for lives and timer (difficulty) as well.