pac edwards
play

PAC-EDWARDS Varun Mehta - Mike Pierorazio - Jeffrey Cropsey Project - PowerPoint PPT Presentation

PAC-EDWARDS Varun Mehta - Mike Pierorazio - Jeffrey Cropsey Project Overview Design a two player PacMan style arcade game Use the DE2 VGA for game visualization Use the DE2 I/O to Implement NES Controller Interface System Overview


  1. PAC-EDWARDS Varun Mehta - Mike Pierorazio - Jeffrey Cropsey

  2. Project Overview • Design a two player PacMan style arcade game • Use the DE2 VGA for game visualization • Use the DE2 I/O to Implement NES Controller Interface

  3. System Overview Pre-programmed RAM Controller RAM Sprites Player Locations Dots on Board Player Scores CPU Top Level Entity VGA Controller Currently Pressed Buttons NES Controller NES Controller Controller NES Controller

  4. Display in-depth

  5. Video (The Goal)

  6. Video (Starting)

  7. What We Needed For Video • Good-looking mazes • Player scores • Dot + Big Macs • Player graphics

  8. Mazes • Shape of maze defined in hardware • 16x16 tiles • Graphics chosen for tiles dynamically • Inquire about neighboring tiles • 6 sprites used for all maze graphics

  9. Scores • Custom font • Read scores from memory • Display outside of maze area

  10. Dots • Dots stored in memory • 16x16 tiles • Read status of dots from memory • Draw dot if appropriate • Special graphics for Big Macs • Similar to player sprites

  11. Players • Sprites stored in memory • 16x16 sprites, 4 bits per pixel • Color table to get pixel’s color • Read locations of players from memory • Can be at any arbitrary (x,y)

  12. That’s More Like It!

  13. NES Control In-Depth

  14. NES Pin-out and signaling

  15. Game logic Loop • Internal copy of maze / dot array • Main Loop • Player 1 then Player 2 • Checks if player “eats” dot • Moves Player

  16. fin

Recommend


More recommend