Generating levels - is it possible?
Would it be possible to generate levels according to rules and game attributes that change? In other words the same scene is re-loaded but each completion changes an attribute that sits in a formula that creates for example a racing track? Each generation adds length + complexity to the track?
Comments
numberofcompletions
gamecompletion
have both of them set to 0 initially
whenever you complete the level, im guessing you have an actor of some sort that passes a point or touches another
actor to activate level completion do this.
when YOURACTOR overlaps/collides with actor FINISHLINE
change attribute game.gamecompletion to 1
now have another rule
when game.gamecompletion = 1
change attribute game.numberofcompletions to game.numberofcompletions+1
different ways you could follow up now depending on exactly what you're trying to do. if im understanding what you're trying to do the most simple way would be that you could have a different tracks (eventhough its the same track) but just make sure that each one is longer or what not. and you just tell GS to turn on a specific track based on what numberofcompletitions =
hoped that helped?