V
vekopeko123
Guest
Hello, i want to make procedurally generated tower player has to climb on with this sort of patterns
I BBBBOOBBBBI
IOOOOOOOOOI
I BOOBBBBBB I
IOOOOOOOOOI
I BBBBBOOBB I
IOOOOOOOOOI
I BBBBOOBBBBI
IOOOOOOOOOI
I BOOBBBBBB I
IOOOOOOOOOI
I BBBBBOOBB I
I = border
B = block player can walk on
O = empty space
How would you approach making this and with what tools? Im thinking of making 20 "layouts" (those stripes of blocks) player can climb on and just let the game choose them randomly and place them. But what kind of code should i use for this? More precisellly, how would i write the code for it and with what functions?
Thank you for your help, i really appriciate it!
I BBBBOOBBBBI
IOOOOOOOOOI
I BOOBBBBBB I
IOOOOOOOOOI
I BBBBBOOBB I
IOOOOOOOOOI
I BBBBOOBBBBI
IOOOOOOOOOI
I BOOBBBBBB I
IOOOOOOOOOI
I BBBBBOOBB I
I = border
B = block player can walk on
O = empty space
How would you approach making this and with what tools? Im thinking of making 20 "layouts" (those stripes of blocks) player can climb on and just let the game choose them randomly and place them. But what kind of code should i use for this? More precisellly, how would i write the code for it and with what functions?
Thank you for your help, i really appriciate it!