Jump to content
  • Advertisement

Archived

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

brewknowc

Multi-Layering Tile Question??

This topic is 6016 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

Hi, I am making my first tile based game... I am just using square tiles and have some fringe tiles. My question is: Should I make a 3 separate arrays to plot the base tiles, the fringe tiles and the objects, or should I make a tile structure that contains these three things, then just have an array of that structure? Thanks - Free Your Mind -

Share this post


Link to post
Share on other sites
Advertisement
I use layers... but because i just like ''em. If you have 3 arrays, you can let the computer do allthe work, and it will be really simple for you ! You will be able to modify your structures any time you want, without having to sort everithing to figure out where things should go. Oh well i guess the frame rate will suffer, but thats life .

"Find the path, follow the Master... Follow the master, understand the master... Be the master !"

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!