- 1、本文档共20页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
外 文 翻 译
原文1:Flying Buddha Memory Game
译文1:飞行佛存储游戏
原文2:Blender Basic Network setup - Boil it down to the basics
译文2:Blender基本网络设置,将其概括为基础
Flying Buddha Memory Game
Flying Buddha is a game designed by Freid Lachnowicz (artwork, models, textures) and me (Carsten Wartmann, Python and game logic). The goal of the game is to find pairs of gongs, like in the good old Memory game.
Besides that, it also includes some action elements, like the dragonfly which will become angry (note the indicator on the top-right) if you jump too high. Also it requires some good timing for the controls of the Buddha. The Buddhas goal, reaching Zen is completed when he has found all pairs. For competitions the time needed to solve will be displayed on screen.
Flying Buddha game controls Controls Description CURSOR KEYS Movement, you can steer in the air and slow down your fall SKEY Select a gong Load the game Games/FlyingBuddha.blend from the DVD and have fun playing it!
Accessing game objects
Accessing individual objects from Blenders game engine is not trivial. In the Flying Buddha game, I needed a possibility of randomly shuffling the gongs at game start.
Generally speaking, it is a good thing to have as much game logic as possible contained on the object that needs that logic. This helps when re-using this object in the same or even different (Blender) scenes. So my first idea was to let the gongs choose a new position themselves. But this soon turned out to be too complicated, because of synchronizing problems and complex logic in the gongs.
I then decided to use an object to control the shuffling process, and have the information about the other objects including their positions is gathered by a Near Sensor. This approach has many advantages. For example we can filter out whole groups of objects with the Property: field, we are not bound to a fixed number of objects etc.
LogicBricks
Load the file Tutorials/FlyingBuddha/FlyingBuddha_simple.blend from the DVD. It contain
文档评论(0)