MIT Dance Dance RevolutionIntroduction to DDRGame OverviewData FlowVideo ~ Menu Screen Video ~ In-Game ModeVideo ~ End-Game ModeInfrared SensorsControl UnitAudioSong SampleThe End!MITMITDance Dance RevolutionDance Dance RevolutionAnna Ayuso and Sharmeen BrowarekAnna Ayuso and Sharmeen Browarek*Image source: *Image source: http://www.konami.jp/am/ddr/ddr3rd/chara/charatop.htmlhttp://www.konami.jp/am/ddr/ddr3rd/chara/charatop.htmlIntroduction to DDRIntroduction to DDRFoot Foot ––eye coordinationeye coordinationHit arrows when they Hit arrows when they match up on screenmatch up on screenWe use IR sensorsWe use IR sensorsOne song, 3 difficulty One song, 3 difficulty levelslevels*Image source: http://www.explorekorea.de/reise/bilder/ddr.jpgGame OverviewGame Overview IR Sensor Infodetermines location of user’s feet Control Unitcontrols game flow Audio handles song representation as arrows and audio playback Videoproduces display viewed by userData FlowData FlowIR Sensor InfoControl UnitVideoAudioVideo ~ Menu Screen Video ~ Menu ScreenVideo ~ InVideo ~ In--Game ModeGame ModeVideo ~ EndVideo ~ End--Game ModeGame ModeInfrared SensorsInfrared Sensors Setup:-3x3 grid of sensors allows location of foot to be found Hardware:-Sharp GP2Y0D02YK IR Sensor - 31" Trigger (hobbyengineering.com)-Produces digital output indicating if beam is interrupted Considerations:-Delay due to wires and the IR trigger device30”IR1 IR2 IR3IR4 IR5IR6Control UnitControl UnitTwo main functions:Two main functions:––Game modeGame mode––ScoringScoringGame mode: Game mode: ––Sends a 2Sends a 2--bit signal to bit signal to determine modedetermine modeScoring:Scoring:––Calculates score based Calculates score based on how close arrows are on how close arrows are when position is reachedwhen position is reached––Accuracy level displayed Accuracy level displayed during game, overall during game, overall score given at end.score given at end.Reset Location!IR1 IR2 IR3IR4 IR5IR6AudioAudioAudio PlaybackAudio Playback––Song stored in ZBT memorySong stored in ZBT memory––Played through speakers using ACPlayed through speakers using AC’’97 codec97 codecRepresentation of song as arrowsRepresentation of song as arrows––Row of arrows represented as a 4Row of arrows represented as a 4--bit numberbit number––Each row corresponds to a beat of the songEach row corresponds to a beat of the song––[left arrow, up arrow, down arrow, right arrow][left arrow, up arrow, down arrow, right arrow]––If arrow represented by a 1, then it will appear in If arrow represented by a 1, then it will appear in the rowthe rowbeatbeatrowrow11010101012210001000nn10011001Song SampleSong SampleClkUpDownLeftRightThe End!The End!Any questions??Any
View Full Document