http://scratch.mit.edu/projects/Smozzick/2108651
So, I made a random terrain generator and in my opinion its pretty good. Problem is that very rarely the water glitches and deletes the bedrock and sort of cascades. Could anyone have a look at the programming and find the problem?
Also, I appreciate opinions if anyone doesn't mind taking a look at it ^^
Offline
I know so far sort of what's causing it - that a variable is being reduced by 1 at 0 so it becomes -1 and mucks up a later equation.
The problem is that I thought I'd fixed that by making it so that if the number is less than 2 instead of being between 0 and 3 it goes to 3.
Again, any ideas for a solution or opinions on the project itself are appreciated ^^
Offline
Cool, how long did it take to make?
Offline
Whoops sorry only just checked this.
It took me about 2-3 hours to make what its up to now with the land, water, tree creation and about another half hour/hour to make the faster side scrolling version here: http://scratch.mit.edu/projects/Smozzick/2109683
Thanks for looking at it and I'm glad you both liked it ^^
Offline