IAT 167 Lecture : IAT167-Week 8 and 9 Lectures.docx
Document Summary
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 (listener) If you want to measure from the edge, take the registration point +/- half of the width / height of the object. 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. Glory: no impact on the gameplay, such as reaching the end, completion, score, achievements. Sustenance: maintain status quo, health power-ups, removal of curses / diseases, blockages. Access: new locations or resources, used once, no other value once used, keys, passwords, picklocks. Facility: do new things you couldn"t do before.