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
140
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.2k
Other Decks in Programming
See All in Programming
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
430
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
CSC307 Lecture 04
javiergs
PRO
0
650
Basic Architectures
denyspoltorak
0
650
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
570
Fluid Templating in TYPO3 14
s2b
0
120
CSC307 Lecture 05
javiergs
PRO
0
490
AIエージェントの設計で注意するべきポイント6選
har1101
7
3.4k
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
1.4k
GISエンジニアから見たLINKSデータ
nokonoko1203
0
200
Python札幌 LT資料
t3tra
7
1.1k
Featured
See All Featured
Fireside Chat
paigeccino
41
3.8k
GraphQLとの向き合い方2022年版
quramy
50
14k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The Curse of the Amulet
leimatthew05
1
8k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Darren the Foodie - Storyboard
khoart
PRO
2
2.3k
Music & Morning Musume
bryan
47
7.1k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Designing for humans not robots
tammielis
254
26k
A better future with KSS
kneath
240
18k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
100
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!