was8bit 2022-04-12 20:47 (Edited)
After many failed attempts at fancier ideas, I decided to keep it simple, and I am happy with the results... I can now rework these into my cloudy mountains game :)
3.1 tweaks: player is centered, wrap around doesnt occur on smaller caves, and cave generation setting tweaked for each cave size..
was8bit 2022-04-12 20:48
Select cave size... explore cave, use ladder to return to selection screen :)
Mazes are randomly created each time :)
was8bit 2022-04-12 20:51
Small caves will be the small mountains, medium caves will be the big mounains, and the big cave will be the cloudy mountain...
was8bit 2022-04-12 20:51
... notice that only the cloudy mountain cave wraps around....
nathanielbabiak 2022-04-13 03:31
This is awesome! Great algorithm!
was8bit 2022-04-13 03:37
... actually MCPEPIC made the algorithm that creates the caverns... i only added rounded edges for a smoother look..
The variables MCPEPIC used in the algorithm made it easy to adjust the settings to produce different results for each different cave size...
This is being plugged into my Cloudy Mountain game, posted awhile back...
nathanielbabiak 2022-04-13 03:39
Well it still looks great and has the right 'feel' to it! (more than just an algorithm)
was8bit 2022-04-13 03:42
Yea, i had to tweak the settings for awhile until i liked the results...
I originally started out with bigger ambitions, floundered, and decided to not fix what already was already working and tried to figure out how to adjust what i had to fit what i needed...
was8bit 2022-04-13 03:44
On my Cloudy Mountain game, i am going to first tweak the movement where the player doesnt bounce back off of walls and such... then do the work of blending this cavern code with the games code....
was8bit 2022-04-13 03:50
Here was my bigger ambition... i abandoned it rather quickly...
was8bit 2022-04-13 03:54 (Edited)
The idea was for maps of great size (maybe 255x255) but issues with how to manually update, scroll smoothly, account for changes in map, enemy movement, etc... at that point i realized what i had did that already quite easily, so i decided to restrict my map sizes to what i already had... ;)
was8bit 2022-04-13 04:01
After i finish my cloudy mountain, i want to finish my utopia game... so far i am only working on random island generation...
I found the original math and code for the game...
-SkyLock24- 2022-04-14 02:28
SkyLock likes this much. Yes he do! Pac-man style but in a cavern.
was8bit 2022-04-14 02:28