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

#1 2011-03-24 16:44:39

Thenuclearduck
Scratcher
Registered: 2010-10-17
Posts: 100+

help

Hey guys,
At the moment I am making a terrain generator and I was wondering how I would fill in the terrain. Here is the link to the project.Any ideas? Thanks in advance  smile


http://blocks.scratchr.org/API.php?user=Thenuclearduck&action=projects&type=newest&return=text&num=1 is my newest project! It has http://blocks.scratchr.org/API.php?user=Thenuclearduck&action=projects&type=newest&return=views&num=1 views!

Offline

 

#2 2011-03-24 17:30:36

Reverberated3
Scratcher
Registered: 2011-02-24
Posts: 100+

Re: help

You could do something where it just draws to the same points minus a certain number until every point is less than -180.


http://i53.tinypic.com/2zs0bah.jpghttp://i51.tinypic.com/30jtrbl.jpg

Offline

 

#3 2011-03-24 17:54:24

Ratty1967UK
Scratcher
Registered: 2007-05-16
Posts: 88

Re: help

extend your sprites down so they have all the earth underneath them!

by making sure your sprite centers are in the correct place, you can simplify the algorithm a little too

here ya go...

http://scratch.mit.edu/projects/Ratty1967UK/1678201

have fun  smile

Offline

 

#4 2011-03-25 12:35:24

skeletonxf
Scratcher
Registered: 2010-11-02
Posts: 10

Re: help

Thenuclearduck wrote:

Hey guys,
At the moment I am making a terrain generator and I was wondering how I would fill in the terrain. Here is the link to the project.Any ideas? Thanks in advance  smile

Um use one sprite and lots of pen blocks
How do you make forums?

Offline

 

#5 2011-03-25 12:41:32

Thenuclearduck
Scratcher
Registered: 2010-10-17
Posts: 100+

Re: help

done now thanks ratty1967uk


http://blocks.scratchr.org/API.php?user=Thenuclearduck&action=projects&type=newest&return=text&num=1 is my newest project! It has http://blocks.scratchr.org/API.php?user=Thenuclearduck&action=projects&type=newest&return=views&num=1 views!

Offline

 

Board footer