Press shift when you click the green flag to turn on Turbo Mode; you should see "Turbo Mode" in orange beside the flag and stop buttons. Click the green flag without holding shift to generate your flag! It will not work if you don't turn Turbo Mode on, because each step gets a certain amount of time, not cycles, and it's configured to Turbo Mode's time. This runs through a number of steps. It's height-based generation, in its own way. It's almost all based on if-then blocks and "touching color __" detection. It should only spawn land away from the edges, so you can use this to come up with a shape for your whole continent. Here's how it works, if you're curious (and you can kind of watch it go): 1. A sprite teleports randomly around the map, stamping dark gradients. It goes through a cycle of large black dots, then a cycle of small black dots biased toward spawning in already dark regions. Then in does a round of light gradient dots (big first, then small). Then it does another round of small dark dots. This creates a brightness-based height map. 2. The "Oceans" sprite is a dot that teleports randomly around the whole screen, but only places deep ocean where it's white, and shallow ocean where it's only very very light gray. 3. The "Lowlands" sprite is a dot with similar rules, and stamps one of several biome colors based on what specific brightness it's touching, a slightly darker brightness than shallow ocean stamps at, all the way to a slightly brighter darkness than midlands begins at. It also changes biome by how close its Y-position is to the center of the map. This creates warmer regions with rainforests, and cooler regions with more grasslands and sand. Different biomes only spawn at certain height/darknesses, which also creates shores and layers. 4. The midlands regions does the same thing but only goes to a set of darker brightnesses. It only has two biomes because I couldn't think of more. Cold forests spawn closer to the tops and bottoms of the map, at the particular heights the midlands are designated to. Warm forests spawn closer to the middle latitude. 5. The highlands Have mountains and snow, and occasionally lava. They spawn at any latitude, but only the very highest/darkest areas. 6. The "smoother" sprite goes around and finds places where it's touching one of the biomes, matches it, and changes ghost effect. This fills in gaps where the original biome dots might not have filled it in, gives the regions a rougher look, and blends biomes together a little bit. 7. That's it! Now you've got your continent. If you're looking to use it, you can of course make as many changes as you want
Thanks to @Locomule for the dot idea they used in their map generator, and the idea to use a step with semi-transparent parts to smooth the map out after the land & water is in. I don't know how they did it, but it gave me the idea of having dots that teleport randomly and only stamp under certain conditions. This is their map generator: https://scratch.mit.edu/projects/565836997/ Thanks to @cwkdavi18228 for the idea to use radial-gradient black dots to create a height map for the generation-dots to follow. I again don't know how they coded theirs specifically, but I did use the idea of using dark/light gradient as a height map. This is their map generator: https://scratch.mit.edu/projects/748841637/ Notes to anyone who may want to make their own version: - Feel free to take anything you need from this, down to straight-up backpacking sprites if you must. I'd appreciate some credit, but I honestly don't care that much. - I wasn't able to have it add more latitude (y-axis) based biomes, like tundras, fjords, or arctic/antarctic regions. That's an idea if you want to update this. - I couldn't figure out how to add good rivers or other wetlands, either. - I considered trying to add map details; things like trees where forests are, or little monster doodles in the seas to give it more of an old-map vibe, but couldn't make it work. - I played around with the idea of a version where you get to draw the height map yourself, to give you more power over how it turns out if you have a general shape in mind for your continent, but I didn't end up trying to tackle that here.