Jump to content
  • Advertisement
Sign in to follow this  
LeapingLizzard

I need some advice on a simple 2d tile system

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

Hello this is my first post here at GameDev :) I'm creating a simple 2d tile system using directx and possibly D3DXSprite as that is what I'm using for my GUI. The tiles have text on them created by D3DXFont so to avoid calling this function many times I want to only create tiles when they are in view. I was thinking of creating one large texture and using different texture co-ordinates per tile for efficancy. My question is about loading new tiles onto the tiles texture. How can I avoid shifting all other parts of the texture to add a new row of tiles?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!