Answers for Joyegame Stage 3D questions

Recently We have some questions from Stage 3D game developers:

1. Is there any solution of render a non-power-of-two texture to a Render Target?

2. Is there any API or possible ways of Hardware Copy between Render Target and Back Buffer?

3. If above two questions are enhancement request, is the[……]

Read more

Minutes Of HTML5 Annual Home Party

Shortlists of China HTML5 Game Programming Contest:
1.    SavePAPA: it’s a very good HTML5 puzzle game using Box2D JS to achieve physical collision effect. It mainly leverages HTML5 Canvas. The developer got success from their Flash game development experience. And they had improve the source code of Box2D to optimize the performance. They win the first prize in the end.
http://game.mhtml5.com/game/works/72Fu9F8ApmrWmmPb/
2.    Happy Ghost Wars: it’s a HTML5 Adventure Game and mainly leverages Canvas, Audio and Local Storage. Two members finished this game in two week during their spare time. They designed this game for they both like Happy Ghost serial movies. They are planning to develop a social version of this game and will publish it to Facebook and Renren.com.
http://game.mhtml5.com/game/works/bXxhCzUISwMhGUpx/
3.    The rabbit’s travel: it’s a HTML5 Adventure Game and mainly leverages Canvas, Audio and Motion control. 8 members finished this game in 20 hours and it runs well in iOS, Android and Desktop browsers.
http://game.mhtml5.com/game/works/2SsnaWQAWc1DwOtD/
4.    3D Bomb Man: it’s a HTML5 3D Action Game and mainly leverages WebGL, Audio and Local Storage. The author finished this game with the JS3D engine which developed by himself and the performance is good in desktop browsers.
http://game.mhtml5.com/game/works/45a9ntP5aTkDO8Z4/
5.    Shooter: it’s a HTML5 Shooting Game and mainly leverages HTML5 Canvas. The developer is a college student and finished this game during his spare time. There are spectacular special effects in this game.
http://game.mhtml5.com/game/works/xfNk8MaEm2DdOgp1/

During the conference, He Huang, CEO of Leiyoo, announced their first MMOSLG game "Twilight Empire", which can be run on WinPhone, iOS and Android. One of their frontend architects, Guo Zhao, shared the design of their game framework (Core + Plugins + UI libraries + map/animation/level editors) and technical issues (screen resolution, traffic control) in implementation. This framework mainly leverages Canvas, Manifest (Off-line Storage), WebSocket and CSS3.

Guangyu Qi, who comes from Microsoft IE9 product team, introduced the features in Win8 and HTML5 support in IE9. He showed a live demo about the excellent support for large numbers of sound tracks in IE9, compared with the poor performance in Chrome and Firefox.

[……]

Read more

Top 10 issues in MY 2011

There are some important and high impact bugs processed by me:

1. Iteration of Dictionary object will be executed twice

在AS3中使用字典循环时输出两次,建议采用别的数据结构。

2. Microsoft mouse Scrolling bug in AIR

采用微软光电鼠标在AIR或Flex程序中有滚动缓慢现象,建议安装最新的微软鼠标驱动:

32 bit Windows: http://download.microsoft.com/download/A/A/7/AA7AB701-B35D-4EA7-A02A-BAAD536EA8CF/IPx86_1033_8.15.406.0.exe
64 bit Windows :http://download.microsoft.com/download/A/A/7/AA7AB701-B35D-4EA7-A02A-BAAD536EA8CF/IPx64_1033_8.15.406.0.exe

3. Decrease frame rate in Social Game when minimize browser

FlashPlayer10.1加入了最小化浏览器自动降低帧频的功能,给很多在线游戏带了麻烦。这是为了降低Flash Player的CPU占用率提升性能,所以不会变动。但是未来Flash Player将在主动降低帧频时发出事件,开发者可以在程序中捕捉这一事件进行相应的变化。

4. TextField/TLF bug discussion

TextField性能很好但是图文混排支持不好更不支持国际化,TLF图文混排很好也支持国际化但性能不好且需要下载几百k的文件包,怎样改进? Flash Player未来将重写TextField底层引擎以集成这两者的优点。

5. Performance very bad when moving mouse with key down on Windows

不要在键盘操作的同时发送大量的鼠标事件,例如鼠标跟随大量物体等等。因为这样会堵塞浏览器的消息队列,导致响应缓慢。

6. Timezone Date class Bug when DST is on on windows

某些时区采用夏令时会在夏令时开始的那一小时时间显示有误差。此问题是由于Windows导致,微软一直未修复此问题。Mac系统上无此问题。Flash Player未来也许将采用类似Java的机制加入内建数据库来同步夏令时时间而不是依赖于操作系统。

[……]

Read more

Ten Thousand Possibilities Of Flash

Flash从崭露头角到如日中天,再到现在与HTML5之争的略显颓势以及不太明朗的未来,十几年间,诞生了无数的技术更新,引发了多次互联网革命,也丧失了很多本可以获得更好发展的机会。时光不能倒流,但在我心中,Flash至少有如下可能能够将它变成一项不可挑战的技术,让Adobe变成一家能与微软谷歌苹果比肩的世界级公司。

第一次发明互联网流媒体视频时,Flash就该推出一个对应的Flash浏览器,通过视频技术垄断以及对Flash无与伦比的支持力度,我相信达到目前Chrome的地位并不是什么难事。如果能与Flash更新程序提供相应的诱导式安装,装机率达到95%并打败IE也不是没有可能。Macromedia没有做到这一点,但Adobe收购它之后竟然也没有任何动作。与之恰恰对应的是,Adobe这些年来为兼容各操作系统上的浏览器疲于奔命并投入了大量的人力物力,可否想过由自己来垄断浏览器市场呢?

等到Firefox和Chrome等浏览器纷纷割据市场的时候,Adobe才虎头蛇尾的推出了桌面版AIR,最初号称浏览器杀手,可如今基本上是惨淡收场。恐怕很多人不知道,Adobe曾经还推出过桌面AIR程序应用市场,但访问者寥寥无几,最后被迫关闭。如果Adobe一直走浏览器路线,并如同现在的Chrome一般推出各种插件和应用,相信不会落得如此下场,如果向云端发展估计更好;况且开发Flash插件和应用比用Javascript开发Chrome插件不知容易多少。

桌面端浏览器不做也就罢了,移动浏览器市场Adobe竟然也没有任何行动,我们却看见如Opera者在移动市场打了漂亮的翻身仗。

开发一个浏览器并不是什么难事,最初的Firefox可是一个人写出来的。

谈完浏览器,再谈谈Flex。

[……]

Read more