pong redux gregg scranton ben pratt gamespot: flawless! 10/10 zero punctuation: the best game ever...

7
PONG REDUX Gregg Scranton Ben Pratt Game spo t: Flaw less! 1 0/1 0 Zero Punctuation: The best game ever IGN: Better than the original 1up: A groundbreaking new development

Upload: george-skinner

Post on 17-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PONG REDUX Gregg Scranton Ben Pratt Gamespot: Flawless! 10/10 Zero Punctuation: The best game ever IGN: Better than the original 1up: A groundbreaking

PONG REDUX

Gregg ScrantonBen Pratt

Gamespot:

Flawless! 10/10

Zero Punctuation:

The best game ever

IGN:Better than the original

1up:A groundbreaking new development

Page 2: PONG REDUX Gregg Scranton Ben Pratt Gamespot: Flawless! 10/10 Zero Punctuation: The best game ever IGN: Better than the original 1up: A groundbreaking

The Idea

• ATMega88PA chip controls the game logic

• DAC and ADC interface analog world with digital logic

• Oscilloscope used as the display• Paddles controlled by potentiometers

Page 3: PONG REDUX Gregg Scranton Ben Pratt Gamespot: Flawless! 10/10 Zero Punctuation: The best game ever IGN: Better than the original 1up: A groundbreaking

Hardware

• 8-bit DAC– SPI interface

• 10-bit ADC– Only 8-bit precision– Mux

• Two 10k potentiometers– Voltage divider

SPI wires

Y voltage X voltage

Page 4: PONG REDUX Gregg Scranton Ben Pratt Gamespot: Flawless! 10/10 Zero Punctuation: The best game ever IGN: Better than the original 1up: A groundbreaking

Hardware

• Tektronix 2445A analog oscilloscope– Retains old-school feel– Phosphor display offers better persistence– Ball can be a single point

• Obstacles– Buttons, knobs, and options! Oh, my!– Trace “ghosting”– Flickering

Trace artifacts

Page 5: PONG REDUX Gregg Scranton Ben Pratt Gamespot: Flawless! 10/10 Zero Punctuation: The best game ever IGN: Better than the original 1up: A groundbreaking

Software

• Plotting points• Ball movement– Velocity & angle variables

• Collisions– Checks against ball/paddles/boundary

• Angle of reflection is affected by angle and position of collision

• Embellishment

Page 6: PONG REDUX Gregg Scranton Ben Pratt Gamespot: Flawless! 10/10 Zero Punctuation: The best game ever IGN: Better than the original 1up: A groundbreaking

Software

• Main loop switches between graphics and game logic– Timing used to schedule processes

• ISR– ADC, timer overflow

• SPI

Page 7: PONG REDUX Gregg Scranton Ben Pratt Gamespot: Flawless! 10/10 Zero Punctuation: The best game ever IGN: Better than the original 1up: A groundbreaking

GameOver