Just wrote a hexagon terrain generator

So proud of myself. :DDD

1 Like

Reminds me of HeroScape. Does anyone still remember that? Probably not.

This is really cool. Can’t wait to see a really cool game come out of it.

todo: 2D game that is topdown (to combat stroll)

Nice. For bonus points: turn this into a civ game.

omg gg so cool

i wish i could make random gen terrain :emo-angst:

[quote] omg gg so cool

i wish i could make random gen terrain :emo-angst: [/quote]

It’s pretty easy, I recommend you should look into Perlin Noise and Simplex Noise.

Honestly, Perlin noise is literally just a bunch of pseudo-random numbers added together.

Or just use math.random. :wink:

Problem with math.random is, is that it’s only one-dimensional white noise, and doesn’t look as realistic as terrain generated with Perlin or Simplex noise.

Compare:

As you can see, Perlin noise is a LOT smoother and looks more realistic.

Problem with math.random is, is that it’s only one-dimensional white noise, and doesn’t look as realistic as terrain generated with Perlin or Simplex noise.

Compare:

As you can see, Perlin noise is a LOT smoother and looks more realistic.[/quote]

math.random works for me right now, I’m not really going for realistic looking terrain.

This just inspired me… I’m going to try making something like this for my game I’m currently working on.

well, not yet I can’t

I can’t even make math.random random terrain

I CANT EVEN MAKE FLAT RANDOMLY GENERATED TERRAIN

brb locking myself in basement until I learn

[quote] well, not yet I can’t

I can’t even make math.random random terrain

I CANT EVEN MAKE FLAT RANDOMLY GENERATED TERRAIN

brb locking myself in basement until I learn [/quote]

Just make sure you have internet down there.

And now there are little people to control :durrr:

I see a cool game arising from this.

Humanoid:MoveTo() doesn’t appear to be working in online mode. :shocked:

[quote] And now there are little people to control :durrr:



[/quote]

hm… the trees remind me of the board game: Settlers of Catan

I’ve got a hexagonal A* pathfinding algorithm if you need it.

I’d show a video but a friend of mine botched it up.