摘要: What is an entity system framework for game development?Posted on 19 January 2012 Last week I released Ash, an entity system framework for Actionscrip... 阅读全文
posted @ 2015-02-10 18:08 陈峰 阅读(191) 评论(0) 推荐(0)
摘要: 一、策略(Strategy)模式策略模式的用意是针对一组算法,将每一个算法封装到具有共同接口的独立的类中,从而使得它们可以相互替换。策略模式使得算法可以在不影响到客户端的情况下发生变化。假 设现在要设计一个贩卖各类书籍的电子商务网站的购物车(Shopping Cat)系统。一个最简单的情况就是把所有... 阅读全文
posted @ 2015-02-10 14:11 陈峰 阅读(212) 评论(0) 推荐(0)
摘要: “Favour composition over inheritance”If you haven’t already read my previous post on the problems of traditional game architecture and why entity syst... 阅读全文
posted @ 2015-02-10 14:05 陈峰 阅读(336) 评论(0) 推荐(0)
摘要: http://www.gamedev.net/page/resources/_/technical/game-programming/understanding-component-entity-systems-r3013 The traditional way to implement game ... 阅读全文
posted @ 2015-02-10 13:53 陈峰 阅读(314) 评论(0) 推荐(0)
摘要: http://entity-systems.wikidot.com/fast-entity-component-systemSummaryCreate a generic System class which stores Components as a Vector array, allows a... 阅读全文
posted @ 2015-02-10 12:26 陈峰 阅读(1196) 评论(0) 推荐(0)
摘要: What is Table-Driven and Data-Driven Programming?Data/Table-Driven programming is the technique of factoring repetitious programming constructs into d... 阅读全文
posted @ 2015-02-10 11:45 陈峰 阅读(450) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/chgaowei/article/details/6966857本文示例代码采用的是c语言。之前介绍过数据驱动编程《什么是数据驱动编程》。里面介绍了一个简单的数据驱动手法。今天更进一步,介绍一个稍微复杂,更加实用的一点手法——表驱动法。关于表驱动法,在《un... 阅读全文
posted @ 2015-02-10 11:19 陈峰 阅读(230) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/chgaowei/archive/2011/08/03/2126724.html前言:最近在学习《Unix编程 艺术》。以前粗略的翻过,以为是介绍unix工具的。现在认真的看了下,原来是介绍设计原则的。它的核心就是第一章介绍的unix的哲学以及17个设计... 阅读全文
posted @ 2015-02-10 11:14 陈峰 阅读(253) 评论(0) 推荐(0)