快速导航:   教程资源  | 经典范例  | 友情链接  | 联系我们  | 官方微博
登陆 | 注册

 flash 3d 研究所
flash3d 研究所 pv3d 教程 研究所小贴士: 完美的旋转要用到痛苦的四元数










最近更新:
● wan925446570阁下在讨论区里 发表新主题“怎么配置away3d运行环境啊???...”(20:38:35)
● yanfaqiang阁下在讨论区里 回复“《超简易papervision3D基础 ...”(18:08:41)
● cripel阁下在讨论区里 回复“...”(14:38:04)
浏览主题:【译】Away3D 3.6.0:Flash10升级版以及Influxis Battlecell API

【译】Away3D 3.6.0:Flash10升级版以及Influxis Battlecell API
noxss (2010-09-29 10:09:54)

原文:[url]http://away3d.com/away3d-3-6-0-flash-10-upgrades-and-the-influxis-battlecell-api[/url]

The latest update to Away3D gives a much needed boost to both speed and memory optimisation in the FP10 branch, and marks our first release after the switch to full time Flash 10 development of the engine. However, for anyone still using Flash 9, you will not be forgotten! We will still be posting maintenance updates, but our main focus of development is now firmly in the Flash 10 camp.

基于FP10的新版Away3D在速度和内存消耗上都有不错的提升,这也是我们转向FP10开发的第一个发行版。但是我们不会忘了那些仍在使用FP9的用户,我们仍将继续维护FP9版本的Away3D,但是我们的主要开发方向还是在FP10这边。

In order to celebrate the release, we are launching an online demo born out of a recent collaboration with Influxis, who have been assisting with an experiment that uses both the extra power of the new engine and the peer-to-peer capabilities of Flash 10.1 to produce a realtime 3D multiplayer prototype. We’d like to thank Influxis dev Sean McCracken, as well as Away3D coders David Lenaerts and Fabrice Closier, and 3D designer Federico Selmi for their hard work producing the latest and greatest Away3D / Influxis experiment.

为了庆祝新版的发布,我们同Influxis合作开发了一个在线演示,它展示了新引擎的强大能力,并加入了FP10.1的P2P特性来支持多人游戏。感谢Influxis 开发团队的Sean McCracke,还有Away3D团队的 David Lenaerts 和 Fabrice Closier 以及3D美工 Federico Selmi。他们的辛勤工作给我们带来了最新最棒的 Away3D / Influxis 体验。

[img]http://away3d.com/wp-content/uploads/2010/09/battlecell_01.jpg[/img]

The demo uses a newly developed API for multiplayer games over RTMFP (the new P2P protocol available to Flash 10.1 users). What it allows is live data connections between clients with little to no lag, creating the perfect environment for some serious fragging fun! BattleCell is the name given to both the demo and the underlying AS3 API, the latter written by Sean in order to easily connect multiple users and pass data between clients.

游戏的多人联网部分通过一个新的基于RTMFP(FP10.1可用的一项新的P2P协议)技术的API开发。这项技术使得用户与用户间的实时数据传输很少甚至是没有延迟,给在线射击游戏创造了一个良好的网络环境。BattleCell 是这个游戏同时也是这个AS3 API的名字,Sean取这个名字是希望它能使多用户间的连接及数据传输变得简单。

[img]http://away3d.com/wp-content/uploads/2010/09/battlecell_02.jpg[/img]

The BattleCell demo is a typical FPS Deathmatch-style game, complete with room allocation, choice of weapons and a large play area for you to roam. Obstacles in the game include lifts, teleport windows, acid baths and secret tunnels to assist your attacks… but be careful who is lurking round the corner!

BattleCell 是一款典型的死亡对战模式的第一人称射击游戏,玩家可以选择武器在大厅中相互厮杀。游戏中的障碍物包括楼梯,传送门,酸液池和方便玩家偷袭的密道。。。但是要小心蹲点的家伙!

[img]http://away3d.com/wp-content/uploads/2010/09/battlecell_03.jpg[/img]

The new 3.6.0 version of Away3D has a completely remodeled core to take full advantage of all native 3D APIs in Flash 10, which results in more stable and less memory-hungry apps. Performance has improved also, and we expect framerates to increase still further as we continue to optimise the new framework. There have been some older class replacements that you need to be aware of when upgrading: both custom classes MatrixAway3D and Number3D have been replaced by the native Matrix3D and Vector3D classes respectively for added speed and stability.

3.6.0版的 Away3D 引擎在核心部分进行了重构以便完全发挥FP10 3D API的优势,这使得程序消耗更少的内存,更快更稳定。我们还在继续优化引擎,以期帧速能有更多的提升。更新的时候要注意原本的 MatrixAway3D 和 Number3D 类被分别替换为FP10的内置类:Matrix3D 和 Vector3D。

[img]http://away3d.com/wp-content/uploads/2010/09/battlecell_04.jpg[/img]

The Battlecell demo is kindly hosted by Influxis and can be accessed online at [url]http://www.influxis.com/battlecell.[/url] 

Type in a room name for your friends to join, and a user name so that others can identify you in-game. The game URL can easily be copy-pasted for fast access to a room, and any user leaving the game automatically frees-up their slot for a new user to join. As the APIs are still being tested, a maximum of 4 users can join a single room at once, but we hope to increase this limit in future versions.

感谢 Influxis 为 Battlecell 演示提供空间,地址是:[url]http://www.influxis.com/battlecell[/url] 打开后输入房间名来创建或加入房间,填上你的id方便大家识别。可以通过复制粘贴网址到地址栏直接进入游戏房间,玩家离开房间后会自动留出空位。因为API尚处在测试阶段,目前一个房间仅允许4名玩家同时对战,我们希望在以后的版本中能够放宽这一限制。

The new version of Away3D can be downloaded from the fp10 branch of the googlecode svn, or from the downloads section of away3d.com.  A 3.6.0 tag will be added to the svn in the next few days, along with a 2.5.2 tag for the latest fixes to the fp9 version of the engine. We will also be tagging a 3.5.2 dot version of the fp10 branch that will take advantage of some of the recent updates without any external class changes, for Away3D applications already in production. For now, enjoy the game and enjoy the new Away3D release!

新版的Away3D可以到Google Code SVN的FP10 branch 或者到 away3d.com 的下载页下载。过几天我们将在SVN添加一个3.6.0tag版同时也会更新FP9的2.5.2版。我们还准备在FP10 branch里增加一个没有增删外部类的3.5.2版为那些已经发布Away3D应用的用户提供方便。现在,让我们享受游戏,享受新版Away3D吧!

The Away3D Team 
Away3D团队

noxss注:游戏分辨率要在1024X768以上(小屏的话试试浏览器全屏吧,反正我的上网本1024x600全屏都能玩),进入先输入房间号(至少3个字符),然后是你的游戏名字(也是3字符以上),OK, HAVE FUN~






flash 3d 研究所 DDM君
(2010-09-29 14:56:41)
这个应用太棒了~ away3d组太勤奋啦
有空试试away3d新版,最近几版更新都挺大的,以前的代码估计有些会无法使用。


flash 3d 研究所 raily
(2010-09-29 15:20:58)
昨天看了 感动啊 flash 3d居然也能做出这样的东西了 对我们都是鼓舞啊


flash 3d 研究所 noxss
(2010-09-29 21:49:27)
= =,标签和天地会不一样,改不了了,想看图的看这里:http://bbs.9ria.com/thread-64502-1-1.html

@DDM:
2.6.0没了MatrixAway3D,估计要手动改些代码。


评论人:
邮   箱: (填入邮箱,博客地址均可)

内   容: (广告和垃圾内容可能会被删除,望理解)
链接地址

验证码:(为防止机器人骚扰,请麻烦输入验证码^_^)
  

(目前需登陆方可发表)


不想添加了