Robot Unicorn Attackweb.mit.edu/.../qyn_Project_Design_Presentation.pdf · Sound effects and music...
Transcript of Robot Unicorn Attackweb.mit.edu/.../qyn_Project_Design_Presentation.pdf · Sound effects and music...
Robot Unicorn Attack
Bringing the Game to Life
Flying Pegasus Ground AttackKelly Qi | Tania Yu
System Overview
Camera Object
Recognition
Game LogicGraphicsGame
Output
Camera● Nexys4-DDR OV7670 Camera
● VGA 640x480 resolution
● Tracks hand motion
● RGB2HSV
Object RecognitionFilter
Motion
Flight Attack
Hand coordinates
Motion signal
Video framesBRAM
Game Logic
Environment pixel Obstacle pixelAttack hit signal
Pegasus
Controller
Environment Obstacles
Attack pixel
Pegasus pixel
Collision signal
Attack
Sound effects
Graphics
Sprite Storage
• Load background image
to BRAM one column at a
time
• Pre-load sprites in BRAM
SD controller SD card
BRAM
Image/audio
Write memory
Image/audio
Image pixel
Image/audio
Controller
Game Output
●Video to the monitor
●Audio to the speaker
Ground Ground
Pegasus Obstacle
Obstacle
ObstacleObstacle
Obstacle
Obstacle
Obstacle
Obstacle
Obstacle
Ground Ground
Pegasus ObstacleAttack beam
Ground Ground
Pegasus
Environment pixel Obstacle pixelAttack hit signal
Camera Filter
Motion
Flight Attack
Pegasus
Controller
Environment Obstacles
Sound effects
Monitor
Speaker
Hand coordinates
Motion signal
Speed
Attack pixel
Pegasus pixel
Collision signal
Pixel value
Sound wave
Sound byte
Sound output
Video output
Video input
Pegasus coordinates
SD controller SD card
BRAMImage pixel
Image/audio
Write memory
Image/audio
Image/audio
WeekTask
11/1 11/8 11/15 11/22 11/29
Motion tracking
Basic graphics
Flight physics
Integration and testing of basics
Attacking obstacles
Collision detection/death
Integration and testing
More graphics
Sound effects and music
Final integration and testing
Stretch goals
Kelly
Tania
Both