minecraft-like random cave(and island)

Discussion and feedback on Construct 2

Post » Wed Jul 15, 2015 9:14 pm

It may seems a bit nerdy but i juste LOVE minecraft ^^ , my project is an rpg but to understand this new programm (i use construct classic) and help all the people who wants to create a minecraft-like in construct I created this "simple" cave generator by adapting this tutorial ( http://gamedevelopment.tutsplus.com/tutorials/generate-random-cave-levels-using-cellular-automata--gamedev-9664) to construct because there is a lots of java tutorial to make procedural generation or rogue like but there's not that much for construct .
Image
Image
Image


When i do this i didn't know how to create global variables , so all the variables are local variables for the object with a red V . there is 6 option you can change :
-width and height are the width and height of the scene in pixel(work in progress)
-probability is the probability of spawning a hole (check the source tutorial to understand)
-death limit and birth limit are also some parameters for the generation , to understand check the tutorial : there is an internet version of the generation programm
-size of block is the length of the edge of the block in pixel , block needs to be squared

download the .cap : https://mega.co.nz/#!cNMQEQYQ!SGIKfDKQhP3CT4mWw33s8sGeXLqpjfHiU_6V_yRRv-8
it's not that easy to explain that in english , so check my .cap and ask me if you don't understand :)
Last edited by madmanu on Thu Jul 16, 2015 7:50 am, edited 3 times in total.
B
3
Posts: 4
Reputation: 185

Post » Thu Jul 16, 2015 7:49 am

We can see that just by changing textures , it makes pretty decent island too
Image
Image
B
3
Posts: 4
Reputation: 185

Post » Thu Jul 16, 2015 8:31 am

Perhaps a year or so ago I would've totally been all over this testing it out. I was using CC and in my random-map-generating-rogue-like phase (part of me is still bent on making an actual game like that). Alas, .cap files aren't compatible with C2.

Good work, it'll surely come in useful for someone.
B
49
S
23
G
17
Posts: 291
Reputation: 12,407


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests