How can I get textures on edge of walls like in Super Metroid and Aquaria?

Posted by meds on Game Development See other posts from Game Development or by meds
Published on 2011-07-28T12:30:47Z Indexed on 2012/06/20 9:25 UTC
Read the original article Hit count: 246

Filed under:
|
|
|
|

Games like Super Metroid and Aquaria present the terrain with the other facing parts having rocks and stuff while deeper behind them (i.e. underground) there's different detail or just black.

enter image description here

enter image description here

I would like to do something similar using polygons. Terrain is created in my current level as a set of overlapping square boxes. I'm not sure if this rendering method will work such a system for creating terrain but if anyone has ideas I'd love to hear them. Otherwise I'd like to know how I should re-write the terrain rendering system so it actually works to draw terrain in this manner...

© Game Development or respective owner

Related posts about 2d

Related posts about programming