摘要: MonstersDiablo 3 offers countless monsters for you to decimate. The toughest of these monsters are buffed with a variety of affixes. These affixes add... 阅读全文
posted @ 2015-06-19 16:28 DesignYourDream 阅读(647) 评论(0) 推荐(0) 编辑
摘要: 转帖:http://www.glenstevens.ca/unity3d-best-practices/另外可以参考:http://devmag.org.za/2012/07/12/50-tips-for-working-with-unity-best-practices/组件的拆分可以参考:htt... 阅读全文
posted @ 2015-06-16 10:06 DesignYourDream 阅读(911) 评论(0) 推荐(0) 编辑
摘要: http://www.richardlord.net/blog/why-use-an-entity-frameworkWhy use an entity system framework for game development?Following myprevious poston entity ... 阅读全文
posted @ 2015-06-15 15:30 DesignYourDream 阅读(807) 评论(0) 推荐(0) 编辑
摘要: http://gamasutra.com/blogs/VictorBarcelo/20131217/207204/Using_abstractions_and_interfaces_with_Unity3D.phpUnity3D includes acomponent architecture pa... 阅读全文
posted @ 2015-06-15 15:03 DesignYourDream 阅读(788) 评论(0) 推荐(0) 编辑
摘要: In a similar way to other parts of a game, user interfaces usually go through several iterations until we get the user experience right; it is vital t... 阅读全文
posted @ 2015-06-15 11:51 DesignYourDream 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 精灵可以有数据和动作状态机种需求,数据相关的逻辑,状态机相关逻辑。先把Entity和Actor弄明白,entity里有改变状态机和设置animator的相应动作,有移动控制器motor,可以认为是入口,需要对某个实体做的实体都要通过这个来实现。entity太大会是个问题,那么能不能把这些控制器分散开... 阅读全文
posted @ 2015-06-12 17:28 DesignYourDream 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 既然提到场景管理,那必须要有世界管理,前端的游戏世界管理:1.前端游戏状态机2.场景管理。执行场景相关的操作。精灵对象管理,包括玩家,怪物,其他玩家这些精灵的列表,增删改查,精灵的视野关系管理。这是全局的。场景内机关管理,当切换场景的时候,加载对应的机关数据。3.用户账户管理。当游戏启动的时候,登录... 阅读全文
posted @ 2015-06-03 19:38 DesignYourDream 阅读(1640) 评论(0) 推荐(0) 编辑
摘要: 对于OOP来说,是个树形结构,如果要实现多个子数之间的共享服务,例如很多子树都用到日志服务,这时候AOP的横切关注 cross cutting concerns就非常有用了。如果要使每个类具备一项功能,势必要修改每个需要的类结构,这样显然麻烦,而且不容易维护。AOP避免了这一点,将横切关注封装到了一... 阅读全文
posted @ 2015-06-01 17:08 DesignYourDream 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 游戏内的战斗框架涉及多个模块,包括技能,施法单元等。 大芒果对wow的实现 可施法单元Unit将会执行castspell,对某个目标使用某个法术进行施法。看起来所有的AI功能都是由CreatureAI来做的,每个精灵都会有一个CreatureAI指针,用来管理自己的行为逻辑,包括移动,施法等。例如施 阅读全文
posted @ 2015-06-01 17:07 DesignYourDream 阅读(3010) 评论(0) 推荐(0) 编辑
摘要: 在Unity上进行开发,请先看对其开发模式应用的讨论:http://www.reddit.com/r/Unity3D/comments/1nb06h/unity_design_patterns_and_concepts_looking_for/第一个问题,整个程序的入口在哪里。原来框架里的入口是个S... 阅读全文
posted @ 2015-05-14 20:04 DesignYourDream 阅读(4344) 评论(0) 推荐(1) 编辑