Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run Time Error Fixes
#9
Its quite easy to do obsidian, its a technique called dirty blocks (or something). All you do is mark an invisible rectangle round anything thats changed, for example, if you move a sprite, mark a rectangle round its new and old spot, then when you goto blt, you only blt from the rectangles over onto the screen, which covers the where the old sprite so that its cleared, and then draws new sprite on...

Impressed yet Big Grin (Actually, thats not exactly it I think, but Its something along them lines)

And by not using dx I mean, why does it use the bitblt api at all? I managed to use dx to blt into picture boxes in my Treasure Chest tut because it needed you to load tiles.bmp and thats usually a massive file.

That could be a nice easy little tut to make, converting everything over to dx, unless anyone has a good reason why not. Think about how much memory could be saved...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)