PDA

View Full Version : DirectDraw Clipping Problem



Crisp_N_Dry
19-09-2003, 10:41 AM
I am coding an isometric tile engine for a game I'm working on (I did it once before but had a fatal hdd crash *sob*). Anyway, I am tiling pics across the screen using the JEDI DirectDraw Header. When I try to tile a sprite where part of the sprite will be offscreen, the sprite is not drawn at all. I thought DirectDraw clipped offscreen pixels, not entire sprites. Anyone know why it's doing this and how to remedy the situation?

Alimonster
19-09-2003, 10:52 AM
BltFast doesn't do any clipping if I remember correctly. Blt can do clipping if you attach an IDirectDrawClipper to surfaces, which is simple enough to do. Have you attached a clipper where appropriate?