• Image Buffering

    (Image buffering is putting together an image off the screen and then displaying it all at once)
  • Advantages of image buffering

    • Sprite refreshing is unnecessary, so sprites can pass over each other with out undrawing over each other
  • Disadvantages of image buffering

    • Creating the image can take more time than drawing on to the canvas, so animation goes slower
  • The number 1 reason to use image buffering is so that you can use background images and have the sprites pass over the background flawlessly

For a little more information on bitwise operations and bitmasking, click here.
For a discription/definition of some of the terms used in this tutorial, click here.
email me if you have questions, suggestions, requests, or comments.
Check out my current project here.
All the discriptions and applets were written by Matthew Reeder for use by students in CS 142 at Brigham Young University. While I have no official patent or copyright on any of this, and I provide it as open source for your learning. It is not for you to show your friends and say you made it. Please do not claim this work as your own, and if you use any significant part of my code, please give credit where it is due. Thank you.