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

IAT167-Week 8 and 9 Lectures.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 8 and 9 Lectures
Custom Events
Event Types
Custom Events
Custom Events
Events are objects that are raised by the Dispatcher, Caught by the Listener, and passed to the
Custom events can be used to pass variables from the sender (dispatcher) to the receiver
Excellent way to preserve OOP encapsulation rules
Proximity Detection
Flash objects measure from their ‘Registration’ point
Typically the center of the object
If you want to measure from the edge, take the registration point +/- half of the width / height
of the object
Problem 1: Bounding Box or Radius Detection
Problem 2: Detection across time in the Game Loop
ActionScript Instrinsics
hitTestObject: Boundary box collision detection, fast and efficient, not precise.
hitTestPoint: Higher precision, but only tests if a single point is in an object
Meaningful Play: Discernible and Integrated relationship between actions and outcomes
Fundamental Categories of Play
Agon: competition / competitive struggle
Alea: submission to the fortunes of chance
Mimicry: role-playing and make-believe
Ilinx: vertigo and physical sensation
Typology of Fun
Sensation: sensory pleasure
Fantasy: make-believe
Narrative: drama
Challenge: obstacles overcome
Fellowship: social framework
You're Reading a Preview

Unlock to view full version