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
Node-RED を(HTTP で)つなげる MCP サーバーを作ってみた
highu
0
100
20250628_非エンジニアがバイブコーディングしてみた
ponponmikankan
0
450
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
570
「Cursor/Devin全社導入の理想と現実」のその後
saitoryc
0
160
#kanrk08 / 公開版 PicoRubyとマイコンでの自作トレーニング計測装置を用いたワークアウトの理想と現実
bash0c7
1
520
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
2
280
エンジニア向け採用ピッチ資料
inusan
0
160
A2A プロトコルを試してみる
azukiazusa1
2
1.2k
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
2
370
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
110
GraphRAGの仕組みまるわかり
tosuri13
8
490
Railsアプリケーションと パフォーマンスチューニング ー 秒間5万リクエストの モバイルオーダーシステムを支える事例 ー Rubyセミナー 大阪
falcon8823
4
960
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Optimizing for Happiness
mojombo
379
70k
RailsConf 2023
tenderlove
30
1.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
KATA
mclloyd
29
14k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Music & Morning Musume
bryan
46
6.6k
Documentation Writing (for coders)
carmenintech
72
4.9k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.6k
BBQ
matthewcrist
89
9.7k
A Modern Web Designer's Workflow
chriscoyier
694
190k
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!