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
Introduce Hono CLI
yusukebe
6
3.1k
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.2k
Go言語はstack overflowの夢を見るか?
logica0419
0
580
contribution to astral-sh/uv
shunsock
0
540
AkarengaLT vol.38
hashimoto_kei
1
120
Go言語の特性を活かした公式MCP SDKの設計
hond0413
2
510
Devvox Belgium - Agentic AI Patterns
kdubois
1
150
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
630
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
4
15k
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
290
CSC305 Lecture 11
javiergs
PRO
0
270
Webサーバーサイド言語としてのRustについて
kouyuume
1
4.9k
Featured
See All Featured
Practical Orchestrator
shlominoach
190
11k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Building a Modern Day E-commerce SEO Strategy
aleyda
44
7.8k
A better future with KSS
kneath
239
18k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Embracing the Ebb and Flow
colly
88
4.9k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
116
20k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Building Applications with DynamoDB
mza
96
6.7k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Bash Introduction
62gerente
615
210k
Writing Fast Ruby
sferik
630
62k
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!