petrSchreiber / BetweenTheBubbles-tb

Bugs adventure in an infinite bubbleverse, thinBasic game
1 stars 0 forks source link

Procedural map - river stirring #31

Closed DirectuX closed 4 years ago

DirectuX commented 4 years ago

Following up on Cornelius stress-test, and issue #29

it is possible to define border limits for stirring, then apply different settings inside the limits for each world.

petrSchreiber commented 4 years ago

Hi Sebastian,

do I understand correctly, that for example now, the river generation is done in rectangle W x H:

(F = free, B = blocked)

X X X X X X
X . . . . X
X . . . . X
X . . . . X
X . . . . X
X X X X X X

...but you are considering adding further "natural blocks" where rivers would not be able to flow?:

X X X X X X
X . . X . X
X X . X . X
X X . . . X
X X . . . X
X X X X X X

Just checking I understand correctly, thank you!

DirectuX commented 4 years ago

not like that :

currently limits are :

There was (removed for debugging) random reduction of expansion of the river ( 15% - 85% ) (maxExpandPlace as dWord)

New proposition is adding further "natural blocks" where rivers would not be able to flow

I'll make an infographic maybe this w-e; after I read all your answers.

petrSchreiber commented 4 years ago

Sure - an image would help me here a lot. Thank you 👍

DirectuX commented 4 years ago

I did not made a picture to explain previous and actual behaviour of Cornelius. They will be obsolete soon I hope. Basically, first version was buggy but size of meander and displacement of meander were random over the whole map surface. Second version (for debugging) only the meander size was random. Displacement was automatically set to the max over the whole map surface.

New proposition : as first version + random is within limits.

For new proposition with respect of all talked constraints : See picture in #29

petrSchreiber commented 4 years ago

I like the concept of limits, let's follow this path! Closing this one?