Random Cave Spawning

Get help using Construct 2

Post » Wed Jul 25, 2012 8:56 pm

Hey Everyone , Im stuck ! I can't find the script that can generate random cave ( Solid Cave Outline ) Not Something too fancy , just like minecraft and terraria !

Thanks in advance !
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Wed Jul 25, 2012 11:49 pm

Minecraft and Terraria use really advanced systems for their world generation: There's a couple of ways to go about creating a generator, but they all come down to relying on a random factor.

In Construct you could use something like "random(999999999)" to generate a random number, and parse it using TokenAt or TokenCount expressions as you like to change how the world may be built.

To really understand how to do this, you should read up on seed generation, Construct's expressions, and this page specializing in random world generation.
B
19
S
5
G
1
Posts: 104
Reputation: 2,920


Return to How do I....?

Who is online

Users browsing this forum: flemmig, Kagubro, MisterAqua and 29 guests