Jump to content
  • Advertisement
Sign in to follow this  
PolecatIV

TileMap

This topic is 4942 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 need to create a tilemap from some .bmp files. How can i make only one big tile from a lots of little tiles? I need to rotate and translate the map on X and Y axis, it's a 2d racing game :) My car should be static in center screen and map moving under it.

Share this post


Link to post
Share on other sites
Advertisement
1. Do it in photoshop(or something simmilar), there is no magic way of doing this.

2. then use glRotate to rotate on the z axis , and glTranslate to translate on the x and y axis, it's simple.

3. Use orthographic projection, take a look at lesson21 for more info.

Share this post


Link to post
Share on other sites
you could also load the bmp's and stitch them together in memory before binding the result to a texture.

Share this post


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

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!