HELP needed random tile gen

Looking to build a team or have a job to offer?

Post » Thu Jun 20, 2013 7:29 am

Hello,
I got an problem and maybe u guys know how to solve this.
I want an (probably) infinite terrain gen,
I have seen the capx from rojohound and the one from Run fast or something
but I need a really random terrain, no caves like.

I tried something but it is using too much objects (Each tile is a object)
Since I need it to be random I cant use the tiled background I think?

So if somebody would help me?

Greets Maurice
B
5
S
1
Posts: 15
Reputation: 678

Post » Fri Jun 21, 2013 1:13 pm

you could do that if you had the full version sorry cant help
B
39
S
11
G
7
Posts: 514
Reputation: 9,601

Post » Fri Jun 21, 2013 8:53 pm

Well, it's a bit of a memory waste, but you could have all of the possible tiled backgrounds in place, generate a random integer, then destroy every background that doesn't correspond to it.

Alternately, using sprites, there's having one object with several frames of animation, and using that random integer to pick which frame; but I'm guessing that's pretty similar to what you were trying.

Pardon the vague-ish answers but it's hard to know exactly what you're trying for without more detail. Good luck!
B
27
S
5
G
1
Posts: 62
Reputation: 2,367


Return to Job Offers and Team Requests

Who is online

Users browsing this forum: No registered users and 2 guests