![]() |
Randomization
Is there any way that any of you know of to put randomization, (or pseudo-randomization at least?) in a level?
For example what if I wanted to make a level where you can get a random powerup? |
The enemies drop powerups randomly. But I'm no JCS expert so I can't really help you.
|
WWWWWWWWWWWW S 1S 2S 3S W W WW WW WW W W WW WW WW W S is a sucker tube which sends you right. 1, 2 and 3 are animated tiles as follows: 1: Wall, blank, blank. 2: Blank, wall, blank. 3: Blank, blank, wall. Make all the animated tiles be at some speed other than 0 (and probably not too high, either). You should now fall down a random pit each time you enter the sucker tube. |
I see. I was thinking it might be something like that.
They should all be the same speed, correct? Now, what if I added a random frame wait modifier? |
Yes, all the same speed. Adding a random wait will just tilt the odds.
|
Ok then, thanks.
|
Hmm... could this possibly be used with trigger crates to give the level a different layout each time?
|
Trigger crates, trigger zones... whatever. Sure.
|
Trigger zones would make the level different for every player. That could get strange.
|
It would be interesting to do that, since then you could have a different layout every time, and if advanced enough it could even be used to generate simple mazes.
|
Quote:
|
| All times are GMT -8. The time now is 08:31 AM. |
Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online