Class Notes (1,100,000)
CA (630,000)
SFU (10,000)
IAT (200)
IAT 167 (30)

IAT167-Week 12 Lecture 1 and 2.docx

Interactive Arts & Tech
Course Code
IAT 167
Jack Stockholm

This preview shows half of the first page. to view the full 2 pages of the document.
Week 12 Lecture 1 and 2
Bitmaps and Blitting
Re-add block events
Gameplay Solution
Programmatic Solution
Image file format / Memory organization
Mapped array of bits / pixels
Spatially mapped
Blit to take a map of bits and move it around in memory
Screen memory
Sprite memory
Flash Sprites are software sprites drawn to the screen every frame
Flash uses screen invalidation to mark areas of the screen for refreshing
Full screen blit
Highest performance
Bitmap Tile sheet
Background tiles
Sprites with Transparency (PNG)
Bitmaps in Flash BitmapData
BitmapData Object
BitmapData > Object
Separates bitmap rendering operations from display updating routines, thus does not incur the
per-frame overhead of constantly redrawing vectored content
Bitmaps in Flash Bitmap Object
Bitmap Object
Bitmap > DisplayObject > EventDispatcher > Object
Can be loaded with bitmap data for display
Loading a Bitmap
BitmapAsset > Bitmap > DisplayObject > …
Embedding includes the asset in the SWF file
Associated the image with a variable:
You're Reading a Preview

Unlock to view full version