Page 1 of 1

Random maps

Posted: Mon Aug 30, 2010 12:52 pm
by Khadrelt
I'm already pretty sure there's no way to do this, but in case I missed something, is there any way to make it so after winning a level the next map is randomly picked from a list of possible maps?

Re: Random maps

Posted: Mon Aug 30, 2010 2:51 pm
by Pyro
Not possible. However there are certain things you can do to fake it. For example if you have two options for the next level and they take place on the same map. You can use scripting and vets to make the map pick a script that makes the map run one way. Like have a different path when a behind the scenes vet is used, than if there was none. Still very limited but can be just what some people need in the right conditions.

Re: Random maps

Posted: Mon Aug 30, 2010 3:35 pm
by Deqlyn
That'd be sweet, it'd be like those timewarp books from back in the day. Go to page, 56 or go to page 131

Re: Random maps

Posted: Mon Aug 30, 2010 4:25 pm
by Khadrelt
Thanks, Pyro, that might work—not true random but it might be close enough.

Re: Random maps

Posted: Mon Aug 30, 2010 4:54 pm
by Graydon
What wasn't mentioned yet is the Failure flag. Every mesh has 3 endgame flags. Light Victory, Dark Victory, and Failure. Failure is used in conjunction with Light Victory, and can link to a second mesh. The maximum is two options though. This is how bungie does the secret levels, and a failure level always has the 'skip this level' button option in the postgame after a loss.

Re: Random maps

Posted: Tue Aug 31, 2010 10:52 pm
by Baak
Deqlyn wrote:That'd be sweet, it'd be like those timewarp books from back in the day. Go to page, 56 or go to page 131
Holy crap, I thought I was the only one who remembered those! :D

Re: Random maps

Posted: Wed Sep 01, 2010 5:25 am
by vinylrake
Baak wrote:Holy crap, I thought I was the only one who remembered those! :D
heh. they were the inspiration for one of my first Basic programs.

Re: Random maps

Posted: Wed Sep 01, 2010 11:32 am
by Khadrelt
I made a HyperCard stack based on that idea. Ahhh, HyperCard! Rest in peace.

Re: Random maps

Posted: Wed Sep 01, 2010 12:19 pm
by vinylrake
hypercard was the most interesting application-content-creation environment i've ever experienced.

of all the pre-OSX technologies, that is the one thing i really wish Apple had ported to run in OSX. so easy to program in, so extensible, so magical. double rainbows all the way.

Re: Random maps

Posted: Wed Sep 01, 2010 3:34 pm
by Jon God
vinylrake wrote:hypercard was the most interesting application-content-creation environment i've ever experienced.

of all the pre-OSX technologies, that is the one thing i really wish Apple had ported to run in OSX. so easy to program in, so extensible, so magical. double rainbows all the way.
This.

Re: Random maps

Posted: Thu Sep 02, 2010 12:22 pm
by Baak
[offtopic]
vinylrake wrote:hypercard was the most interesting application-content-creation environment i've ever experienced.

of all the pre-OSX technologies, that is the one thing i really wish Apple had ported to run in OSX. so easy to program in, so extensible, so magical. double rainbows all the way.
No idea if it's useful but I found this possible replacement for HyperCard buried in this discussion.

[/offtopic]

Re: Random maps

Posted: Thu Sep 02, 2010 7:52 pm
by vinylrake
thanks. i looked into these myself a couple of years after apple abandoned hypercard but none of the 'replacements' were really replacements. cocoa isn't supported as of the last few versions of the OS, applescript is really nothing like hypercard, RealBasic is powerful but is a completely seperate beast (I have a copy and have developed apps with it) and the others were much more cumbersome or unintuitive than they claimed to be. I even purchased one(SuperCard), but never did anything with it because it was like I was used to the power and elegance of 32 bit graphics and layers and gradients and layer masks of photoshop 8.0 and then suddenly was forced to use a 1996-era 8-bit version of MSPaint.