CSCI 1106 Introduction to Game Architecture

What interac2on our event based world ques2on how do

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: rac2ons between sprites –  Governs interac2ons between player and sprites –  Implements the rules of the game –  Contains event handlers that respond to events in the game –  Updates the sprites on the stage The Movie Metaphor •  •  •  •  •  In a movie the screen is updated 24 2mes per second In a game the stage is updated 30 2mes per second The update is called a frame A frame occurs every 1/30th of a second When a frame occurs –  Sprites modify their proper2es •  •  •  •  Posi2on Look Sound Etc –  Sprites are redrawn on stage in each frame •  Key Idea: A game is simply an interac2ve movie! •  What interac2on? Our Event- based World •  Ques2on: How do you know when to do something? •...
View Full Document

This document was uploaded on 03/27/2014 for the course CSCI 1106 at Dalhousie.

Ask a homework question - tutors are online