This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-09-01 12:45:33

timetravelernick
Scratcher
Registered: 2010-11-26
Posts: 27

how do i make a level genorator?

for my minecraft game i need a level genorator.

Offline

 

#2 2011-09-01 12:53:58

pokemongardevoir
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: how do i make a level genorator?

You may want to use something like this:

<when I receive[ New Level
<set y to( <pick random( -20 )to( 20
<set pen color to( color of level platform
<pen down>
<glide(  )secs to x sad  300  )y sad  <y position>
<pen up>

Last edited by pokemongardevoir (2011-09-01 12:54:39)


http://i48.tinypic.com/n50dt.gifhttp://tiny.cc/oj6plwhttp://tiny.cc/creepforum
My website has been approved by the Scratch Team.  (^_^)

Offline

 

#3 2011-09-01 13:59:38

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: how do i make a level genorator?

That's an extremely broad topic... I don't think anyone can give you a solid answer knowing only that much. How does the game work? Like, is it a platformer? Overhead? Are levels created by stamping tiles?


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#4 2011-09-01 14:01:39

NeilWest
Scratcher
Registered: 2010-01-06
Posts: 1000+

Re: how do i make a level genorator?

Yep.

Offline

 

Board footer