Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Layer Fringe Data Structure

This topic is 5685 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The problem is: I want to lay fringe layers automatically around when a Base tile is placed in the map with a different tile type. Ex: Grass Tile on Sand Tile Type So each tile type may have 8 fringe tile. And each fringe tile may have different various of itself. So that i can place a random fringe for every base tile. I need to store all these details in a Structure. some thing like this: BASE Tile: Grass 1 Possible Fringe Tiles for upper position is: Grass Fringe North 1 Grass Fringe North 2 Grass Fringe North 3 Grass Fringe North 4 Possible Fringe Tiles for lower position is: Grass Fringe South 1 Grass Fringe South 2 Grass Fringe South 3 Grass Fringe South 4 I hope u understood my question :-( ??? I m not getting any ideas please help Sam

Share this post

Link to post
Share on other sites

Those two articles cover everything you're asking.

[edited by - Wyrframe on March 25, 2003 2:16:13 AM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!