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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
ginotria
November 18, 2011
Programming
150
2
Share
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
More Decks by ginotria
See All by ginotria
Using JavascriptMVC
ginotria
4
1.2k
Other Decks in Programming
See All in Programming
Claude Codeログ基盤の構築
giginet
PRO
7
3.8k
Ruby and LLM Ecosystem 2nd
koic
1
1.4k
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
480
飯MCP
yusukebe
0
440
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.2k
20260313 - Grafana & Friends Taipei #1 - Kubernetes v1.36 的開發雜記:那些困在 Alpha 加護病房太久的 Metrics
tico88612
0
240
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
3.6k
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
270
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
130
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
130
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.1k
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
430
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Practical Orchestrator
shlominoach
191
11k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
How to build a perfect <img>
jonoalderson
1
5.3k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Rails Girls Zürich Keynote
gr2m
96
14k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
160
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
92
Six Lessons from altMBA
skipperchong
29
4.2k
Navigating Team Friction
lara
192
16k
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!