Results 1 to 2 of 2

Thread: DirectDraw Clipping Problem

  1. #1

    DirectDraw Clipping Problem

    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?
    Isometric game development blog http://isoenginedev.blogspot.com/

  2. #2

    DirectDraw Clipping Problem

    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?
    "All paid jobs absorb and degrade the mind."
    <br />-- Aristotle

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •