Thread: Blt or BltFast?

  1. #1
    Registered User
    Join Date
    Dec 2001

    Blt or BltFast?

    // So I have an array like this:

    #define ANIM_STEPS 10

    // Let's say this array contains 10 variations of the same sprite
    // I'd like to copy these sprites to a primary surface like:


    // The whole loop should show an animation of the sprite
    // Should I use BltFast or Blt?
    // Even Blt seems to be so fast, that all I see is the tenth step
    // of the animation, when starting the program
    // How can I avoid the problem above?

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Put a delay in your loop. Sleep() or similar. Depends on what else you are doing at the time of course.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 90 Degree Rotation Blt
    By Unregistered in forum Windows Programming
    Replies: 1
    Last Post: 04-08-2002, 07:05 PM