IAT 167 Lecture Notes - Lecture 11: Frame Rate, Rgba Color Space
Document Summary
Frame control: frame rate for image display: sequencing : load a sequence of images into an array and loop through it (array, blitting : loop through a "tile sheet" (a single image of pimage) with image tiles) Pimage standing = new pimage [1]; //image seq for standing. Pimage walking = new pimage [5]; //image seq for walking. Pimage activeimgseq; //current state of image seq activeimgseq = standing; //initial standing image for (int i=0; i