Sign in to follow this  
LeapingLizzard

I need some advice on a simple 2d tile system

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this