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

#1 2012-02-15 08:57:40

maxdoss
Scratcher
Registered: 2010-07-27
Posts: 1000+

How do you make a world generator?

Can someone please help me make a world generator? I want to make a mining game of epicness.


It's my birthday. Deal with it.

Offline

 

#2 2012-02-15 11:32:16

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: How do you make a world generator?

Wellll....

I made my block placer sprite that was 13x13 pixels and Scripted it something like this:

when gf clicked
go to x: [-234] y: [-169]
repeat until <(x position) > [235]>
repeat (pick random [6] to [9])
stamp
change y by [13]
end
go to x: <(x position) + (13)> y: [-169]

Last edited by CheeseMunchy (2012-02-15 11:33:12)


6418,

Offline

 

#3 2012-04-03 19:35:37

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: How do you make a world generator?

A mining game like you're suggesting simply isn't practical in scratch, the amount of sprites required would be enormous, and  for a world generator it would be so chaotic that it'd be better to learn java than try it in scratch...


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#4 2012-04-03 20:18:39

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: How do you make a world generator?

maxdoss wrote:

Can someone please help me make a world generator? I want to make a mining game of epicness.

2 dimensional or 3 dimensional?
How many types of ore?
Should some be rarer than others?  How much rarer?
Should the rarer ores be more common as you go deeper?


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#5 2012-04-03 21:02:14

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: How do you make a world generator?

Depending on your answers to my questions above, I might have just answered it here


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

Board footer