Jump to content
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 13 October 2012 - 04:26 AM
Posted 13 October 2012 - 08:18 AM
Posted 13 October 2012 - 09:32 AM
I'm really not following your opening post, could you please clarify? I have the following questions:
a) So I assume it's a 2D terrain, but what sort?
b) What do you mean "it just chooses between different directions of the terrain within a range (horizontal, vertical and so on)"? Is it a tile-based terrain and it chooses N, S ,E or W facing tiles accordingly?
c) What do you mean by "making the terrain stay in bounds"?
d) What is the idea of this "simple layer system" and what do you mean by "overlaps"? Overlapping tiles?
e) Where do these hole artefacts appear and why?
Posted 13 October 2012 - 12:08 PM
Posted 14 October 2012 - 11:50 AM
Well, can't you just take the points that you have and extrude them in pairs downwards to the bottom of the screen (pretty trivial, keep x coordinate and set y coordinate to 0), and draw a textured quad with those 4 points? Preferrably with a kind of "earth" texture, or with some brown-blackish Perlin noise.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.