civilization style terrain generator

Get help using Construct 2

Post » Sun Mar 31, 2013 7:48 pm

hello everyone.

i looked around this forum; and also the [How do I]Frequently asked questions but i couldn't find an example of a top-down terrain generator (does not have to be isometric, could be simple top-down view). does anyone have an example they can share?

thanks a million, in advance.
B
74
S
17
G
3
Posts: 109
Reputation: 6,172

Post » Mon Apr 01, 2013 3:25 pm

[QUOTE=hyem] hello everyone.

i looked around this forum; and also the [How do I]Frequently asked questions but i couldn't find an example of a top-down terrain generator (does not have to be isometric, could be simple top-down view). does anyone have an example they can share?

thanks a million, in advance.[/QUOTE] +1
B
8
S
1
Posts: 20
Reputation: 821

Post » Tue Aug 18, 2015 8:54 am

So did you ever manage to find a top-down terrain generator or to make one?
B
9
S
2
Posts: 30
Reputation: 615

Post » Thu Sep 17, 2015 1:12 am

nope, i did not...in the end, i abandoned the project to work on another game that i'm almost finished on.
B
74
S
17
G
3
Posts: 109
Reputation: 6,172

Post » Thu Sep 17, 2015 11:36 pm

You have to make an isometric terrain sprite with a bunch of frames of identical size/shape and with common borders (such that they can be tiled randomly without odd graphics bugs), then use something like rex_board & rex_SquareTx (in isometric mode) to place randomly selected frames of that sprite at each location.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
17
S
5
G
1
Posts: 1,119
Reputation: 3,991

Post » Fri Sep 18, 2015 8:35 am

didn't make this before, but if it's not isometric view, I would use for e.g. arrays
https://www.scirra.com/tutorials/307/ar ... ers/page-4

1.) set size of array
2.) fill array with random numbers
3.) read arrays and transform it (e.g. 1-> water, 2-> land, 3-> mountain, 4-> city)

you can also make some fine adjustment:
e.g. when more 25% of array is water, then run again random filling
B
15
S
4
Posts: 77
Reputation: 1,030


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests