Skip to content

Commit

Permalink
update read me and add framework
Browse files Browse the repository at this point in the history
update read me and add framework
  • Loading branch information
dabing1022 committed Aug 4, 2014
1 parent 02e5ed8 commit f4e332e
Show file tree
Hide file tree
Showing 28 changed files with 118 additions and 1 deletion.
2 changes: 2 additions & 0 deletions 01-Introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Introduction
============================
2 changes: 2 additions & 0 deletions 01.1-Architecture, Performance, and Games.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Architecture, Performance, and Games
============================
2 changes: 2 additions & 0 deletions 02-Design Patterns Revisited.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Design Patterns Revisited
============================
2 changes: 2 additions & 0 deletions 02.1-Command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Command
============================
2 changes: 2 additions & 0 deletions 02.2-Flyweight.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Flyweight
============================
2 changes: 2 additions & 0 deletions 02.3-Observer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Observer
============================
2 changes: 2 additions & 0 deletions 02.4-Prototype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Prototype
============================
2 changes: 2 additions & 0 deletions 02.5-Singleton.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Singleton
============================
2 changes: 2 additions & 0 deletions 02.6-State.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
State
============================
2 changes: 2 additions & 0 deletions 03-Sequencing Patterns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Sequencing Patterns
============================
2 changes: 2 additions & 0 deletions 03.1-Double Buffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Double Buffer
============================
2 changes: 2 additions & 0 deletions 03.2-Game Loop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Game Loop
============================
2 changes: 2 additions & 0 deletions 03.3-Update Method.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Update Method
============================
2 changes: 2 additions & 0 deletions 04-Behavioral Patterns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Behavioral Patterns
============================
2 changes: 2 additions & 0 deletions 04.1-Bytecode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Bytecode
============================
2 changes: 2 additions & 0 deletions 04.2-Subclass Sandbox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Subclass Sandbox
============================
2 changes: 2 additions & 0 deletions 04.3-Type Object.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Type Object
============================
2 changes: 2 additions & 0 deletions 05-Decoupling Patterns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Decoupling Patterns
============================
2 changes: 2 additions & 0 deletions 05.1-Component.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Component
============================
2 changes: 2 additions & 0 deletions 05.2-Event Queue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Event Queue
============================
2 changes: 2 additions & 0 deletions 05.3-Service Locator.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Service Locator
============================
2 changes: 2 additions & 0 deletions 06-Optimization Patterns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Optimization Patterns
============================
2 changes: 2 additions & 0 deletions 06.1-Data Locality.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Dirty Flag
============================
2 changes: 2 additions & 0 deletions 06.2-Dirty Flag.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Dirty Flag
============================
2 changes: 2 additions & 0 deletions 06.3-Object Pool.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Object Pool
============================
2 changes: 2 additions & 0 deletions 06.4-Spatial Partition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Spatial Partition
============================
67 changes: 66 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,69 @@
Game-Programming-Patterns-CN
============================

游戏编程模式中文
<center>游戏编程模式中文</center>

## 嘿,游戏开发伙伴们!

- 你是否还在为代码整体规划而苦苦挣扎?
- 是否发现随着代码库的增长却不容易做出些改动?
- 是否感觉到你的游戏就是一个纷乱交杂的巨大的毛球?
- 又或者不知如何将设计模式应用到游戏?
- 听说过“缓存一致性”和“对象池”,但却不知道如何使用它们来让你的游戏提升性能?

你们的救星来啦!我撰写了这本书来解答这些问题。这是我在游戏中所使用的模式总结,这些模式能让我们的代码更整洁,更清晰易懂,以及运行更快!

## 免费在线阅读

当我开始编写游戏时,我希望我有一本这样的书。现在,我希望你能够有一本。

[__开始阅读__](01-Introduction.md)

## 我是谁?

<img src="./res/dogshot.jpg" width=150 border=3 align="right"/>

我叫 Bob Nystrom。当我在EA工作的时候,我便开始写这本书了。在EA工作的8年时间里,我见过很多优美的代码,也见过很多着实可怕的代码。我希望我能够将我从这些优美的代码设计中学到的东西,在这里写下来,并教给大家如何写出这样好的代码来。

如果你想要联系我,你可以在[网站写email给我](http://gameprogrammingpatterns.com/),或者直接在 twitter 上 [@munificentbob](https://twitter.com/intent/user?screen_name=munificentbob) 都可以。

## 反馈

在线写作书籍的一大好处就是方便修改。如果你发现了错误或者有什么建议,不要犹豫,给我[报告bug](https://github.com/munificent/game-programming-patterns/issues)或者发送一个 pull request。

## 目录

- [介绍](01-Introduction.md)
- [架构,性能和游戏](01.1-Architecture, Performance, and Games.md)
- [再探设计模式](02-Design Patterns Revisited)
- [命令模式](02.1-Command.md)
- [享元模式](02.2-Flyweight.md)
- [观察者模式](02.3-Observer.md)
- [原型模式](02.4-Prototype.md)
- [单例模式](02.5-Singleton.md)
- [状态模式](02.6-State.md)
- [序列模式](03-Sequencing Patterns.md)
- [双缓冲](03.1-Double Buffer.md)
- [游戏循环](03.2-Game Loop.md)
- [更新方法](03.3-Update Method.md)
- [行为模式](04-Behavioral Patterns.md)
- [字节码](04.1-Bytecode.md)
- [子类沙盒](04.2-Subclass Sandbox.md)
- [对象类型](04.3-Type Object.md)
- [解耦模式](05-Decoupling Patterns.md)
- [组件](05.1-Component.md)
- [事件队列](05.2-Event Queue.md)
- [服务定位器](05.3-Service Locator.md)
- [优化模式](06-Optimization Patterns.md)
- [数据局部性](06.1-Data Locality.md)
- [脏标记](06.2-Dirty Flag.md)
- [对象池](06.3-Object Pool.md)
- [空间划分](06.4-Spatial Partition.md)

==========================
## 译者

欢迎朋友们阅读并斧正,提交 Issule 或者 send pull request :]

能有所收获,便是我翻译中文的意义所在。

Binary file added res/dogshot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f4e332e

Please sign in to comment.