Discuss Scratch

IAmHutch
Scratcher
100+ posts

is there a way to make an infinite randomly generated world?

can you make a scrolling, 2d, playable, infinite, randomly generated world with pen?

Last edited by IAmHutch (Oct. 12, 2021 00:34:50)


“Thor” -Thor, Thor (2011)
ABitStrange
Scratcher
22 posts

is there a way to make an infinite randomly generated world?

Technically, but it's REALLY complicated, so complicated in fact that no one has ever done it before.

For starters, you'd have to use an algorithm for generating the landscape, such as Perlin Noise. This makes it possible to make your terrain infinite.
Then, you'd have to go through the hassle of scrolling, crafting and the frame rate will be horrible at the end, and-

Yeah, It's just not worth your time.

when green flag clicked
if <(item (1 v) of [conversation data v] :: list) = [hello]> then
say [hi]
end
IAmHutch
Scratcher
100+ posts

is there a way to make an infinite randomly generated world?

ABitStrange wrote:

Technically, but it's REALLY complicated, so complicated in fact that no one has ever done it before.

For starters, you'd have to use an algorithm for generating the landscape, such as Perlin Noise. This makes it possible to make your terrain infinite.
Then, you'd have to go through the hassle of scrolling, crafting and the frame rate will be horrible at the end, and-

Yeah, It's just not worth your time.
platforming or topdown?

“Thor” -Thor, Thor (2011)

Powered by DjangoBB