Top Banner
Quack Attack! the saga begins A game by Ryan Sullivan
23
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Quack Attack! the saga begins A game by Ryan Sullivan.

Quack Attack! the saga begins

A game by Ryan Sullivan

Page 2: Quack Attack! the saga begins A game by Ryan Sullivan.

Overview

• Why make a game• Storyline• Design• Problems• Screenshots

Page 3: Quack Attack! the saga begins A game by Ryan Sullivan.

Why Make a Game?

• Something I’ve always wanted to do• More fun than previous projects• Graphics programming• Uses concepts learned in CS courses

Page 4: Quack Attack! the saga begins A game by Ryan Sullivan.

Storyline

• Background– You are a duck– Your parents lived in a small country

pond– They were killed by a cougar just before

you were hatched– You don’t know what happened to them

Page 5: Quack Attack! the saga begins A game by Ryan Sullivan.

Storyline

• Game entrance– You enter game as a newly hatched

duckling– You know nothing about your parents

death– You are alone in the pond

Page 6: Quack Attack! the saga begins A game by Ryan Sullivan.

Storyline

• Pass various levels (only two in “The saga begins…”) to gain clues about what happened to your parents

• In “Revenge of the Duck” (not part of this project) you actually confront the evil cougar

Page 7: Quack Attack! the saga begins A game by Ryan Sullivan.

Design

• Data Structures/Algorithms– Tree– Disjoint Sets– Collision Detection – Game mode

• SimpEngine– Simple Graphics Engine– It’s pretty much most of my class design

Page 8: Quack Attack! the saga begins A game by Ryan Sullivan.

Tree Data Structure

Page 9: Quack Attack! the saga begins A game by Ryan Sullivan.

Disjoint Sets

• Used to generate a maze• Every maze cell is it’s own set• Disjoint Sets randomly selects cells

and checks if they’re in the same set• If not, it combines both sets• Keeps going till all cells are in one set

Page 10: Quack Attack! the saga begins A game by Ryan Sullivan.

Bounding Box Collision Detection

Page 11: Quack Attack! the saga begins A game by Ryan Sullivan.

Game Mode

• Big If Statement• There’s several modes, including…

– Main Menu– Load Level 1– Level 1 instructions– Playing Level One

• Easy to add new modes• This allows me to turn off key/moue input

based on game mode• This controls what is drawn

Page 12: Quack Attack! the saga begins A game by Ryan Sullivan.

Game Mode Input

Page 13: Quack Attack! the saga begins A game by Ryan Sullivan.

Game Mode Input - Playing

Page 14: Quack Attack! the saga begins A game by Ryan Sullivan.

Game Mode Draw

Page 15: Quack Attack! the saga begins A game by Ryan Sullivan.

SimpEngine Layout

Page 16: Quack Attack! the saga begins A game by Ryan Sullivan.
Page 17: Quack Attack! the saga begins A game by Ryan Sullivan.

Tree picture (again)

Page 18: Quack Attack! the saga begins A game by Ryan Sullivan.

Problems

• SimpEngine a blessing and a curse– Almost no documentation– No “how to do this”– I’d spend lots of time trying to do

something, then realize there’s a much easier way

• Phantom Errors• Time – ROTC• Senioritis

Page 19: Quack Attack! the saga begins A game by Ryan Sullivan.
Page 20: Quack Attack! the saga begins A game by Ryan Sullivan.
Page 21: Quack Attack! the saga begins A game by Ryan Sullivan.
Page 22: Quack Attack! the saga begins A game by Ryan Sullivan.

Summary

• Why make a game• Storyline• Design• Problems• Screenshots

Page 23: Quack Attack! the saga begins A game by Ryan Sullivan.