Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Using Design Patterns in Game Development
Search
ginotria
November 18, 2011
Programming
2
130
Using Design Patterns in Game Development
What is a design Pattern and why should we care using it especially in game development.
ginotria
November 18, 2011
Tweet
Share
More Decks by ginotria
See All by ginotria
Using JavascriptMVC
ginotria
4
1.1k
Other Decks in Programming
See All in Programming
Open standards for building event-driven applications in the cloud
meteatamel
0
230
Productivity is Messing Around and Having Fun
hollycummins
1
180
TSKaigi 2024 - 新サービス Progate Path の演習で TypeScript を採用して見えた教材観点からの利点と課題
makotoshimazu
1
220
The Design of Everyday APIs - PyCon 2024
roguelynn
0
190
Balkan Ruby 2024 — How and why to run SQLite on Rails in production
fractaledmind
0
110
Next.js App Router
quramy
14
2.3k
TypeScriptで使いやすいOpenAPIの書き方
yukimochi_dwango
1
860
Sheets API使ってみた
toshi0383
2
180
Criando a Woovi em uma semana
daniloab
0
120
CQRS meets modern Java
simas
PRO
2
470
Long journey of Ruby standard library RubyKaigi 2024
andpad
2
210
ts-morphを使ってコードリプレイスとASTへのハードルを下げる!
nyawach
5
330
Featured
See All Featured
Designing for Performance
lara
601
67k
Web development in the modern age
philhawksworth
203
10k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Bash Introduction
62gerente
605
210k
Designing for humans not robots
tammielis
247
25k
Optimising Largest Contentful Paint
csswizardry
13
2.4k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
Fireside Chat
paigeccino
22
2.7k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
67
14k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
660
120k
Robots, Beer and Maslow
schacon
PRO
155
8k
Transcript
http://apps.facebook.com/worldracers
Using Design Patterns in Game Development November 2011
What is the one thing you can always count on
in Software Development?
None
A Design Pattern is essentially a description of a commonly
occurring object- oriented design problem and how to solve it .
QUICK EXAMPLE
Duck Simulator Game
Initial Design: Using INHERITANCE
Initial Design Using INHERITANCE
1. Code is duplicated across subclasses 1. Runtime behavior changes
are difficult. 1. Changes can unintentionally affect other ducks Disadvantages of using Inheritance for providing Duck Behavior
Using Strategy Pattern Take what varies and ENCAPSULATE it so
it wont affect the rest of your code.
The BIG Picture
Why Patterns Matter • Common language • Speed up your
development • Preexisting documentation • Refine your solutions • Explains the why
More Patterns !!! • State • Composite • Bridge •
Proxy • Interpreter • Builder • Abstract Factory • Memento • Prototype • Visitor • Mediator • Chain of Responsibility • Flyweight • MVC
“Life belongs to the living, and he who lives must
be prepared for changes.” Johann Wolfgang von Goethe
None
Contact:Gino Tria, Inkstone Developer
[email protected]
/ +639228243803 Thank You!