Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: will this random terrain generator work?  (Read 5860 times)

0 Members and 1 Guest are viewing this topic.

codingHere

  • Newbie
  • *
  • Posts: 6
    • View Profile
will this random terrain generator work?
« 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?

G.

  • Hero Member
  • *****
  • Posts: 1592
    • View Profile
Re: will this random terrain generator work?
« Reply #1 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