SFML community forums

Help => Window => Topic started by: codingHere on October 10, 2021, 05:51:07 am

Title: will this random terrain generator work?
Post by: codingHere on October 10, 2021, 05:51:07 am
array (4,000) (4,000)

set each part of the array to one of the following:

rock
grass
air
dirt
water

this will make a mess.

so i will set the probability for each one at a different layer.
 :)
tell me if im wrong but this should probably work?
Title: Re: will this random terrain generator work?
Post by: G. on October 10, 2021, 07:31:04 am
It depends of your definition of "work" and since it's only a vague idea it will probably work