The Adventure Ends | Coding and Algorithms | Kingdoms Generator Dev Log #2
Hi Everyone,
Our Adventure ends in our new project and this time we finished Coding and setting up the generator.
The video is a bit technical with an explanation of the algorithms used in the generator.
Try Kingdoms' Generator:
https://fadrikalexander.itch.io/kingdoms-generator
Code and Algorithms:
- I used "The Game of Life algorithm" or "Conway Algorithm" to create the Land, rivers, and lakes.
- I used a backtracking Algorithm to create the walls of each Kingdom.
- I used a Flood Fill Algorithm to fill the walls and create the actual kingdoms.
- I used a small noise pattern in a shape of a circle, with the close to the center the higher the chance, to plant the trees, mountains and even build the houses starting from one point.
ProcJam: https://itch.io/jam/procjam
Part 1: https://www.youtube.com/watch?v=4hfrDiWP92k
Join Our Kingdom on Discord:
https://discord.gg/GhXgBtj
#Unity #DevLog #ProcJam
-----------------------------------------------------------------------------------------------
Subscribe: https://www.youtube.com/channel/UCaoHl0kT4bB-4U-YGv98NnQ?sub_confirmation=1
Discord: https://discord.gg/GhXgBtj
Play my games at:
https://fadrikalexander.itch.io/
https://gamejolt.com/@FadrikAlexander
https://fadrikalexander.newgrounds.com/
Reddit: https://www.reddit.com/user/FadrikAlexander
Twitter: https://twitter.com/FadrikAlexander
GitHub : https://github.com/FadrikAlexander
Education
#Programming
#Game Dev
#Indie Development
#Game Jam
#Unity
#Game Development
#Gaming
#Indie Games
#Fadrik
#Fadrik Alexander
#Game Design
#Design
#Idea
#Dev Log
#Movement
#Art
#Unity3D
#Madeinunity
#Pixel Art
#Kingdoms
#ProcJam
#PhotoShop
#My First Pixel Art
#KingdomsGenerator
#Generator
#Procedural generation
#Procedural
#generation
#Conways
#Game of Life
#Conway
#Backtracking
#FloodFill
#Flood Fill
#Algorithms
#Backtracking Algorithm
#Algorithm
#recursive
#recursive Algorithm