Advertisement Jump to content


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


DirectX 7 question

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

I ran into a problem when making a tiled map. I want the map to be bigger than the screen. Say the map is 1024X768 and the screen is 640X480. So here is what I do. I make a offscreen surface that is 1024X768. Blit the tiles to it to make the map. Then blit that to the buffer that is 640X480, then the buffer to the screen. Like this: -------------- | |--------| | | | | | | | | | | |--------| | | | |-------------| can someone explain how to do this? I run into problems when trying to blit the world to the buffer. If the blit x and y are 0 it works. Otherwise all I see is the buffer background. Is there anything with clipping or something? The whole idea is to draw the map and just move the buffer around the map.

Share this post

Link to post
Share on other sites
hi.. u can find some good tutorials about tiling in the articles session.

i recommend the titling in directX. This one is simple and win probably help you..

if u do have any more specific doubt.. i coud help u

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!