SlideShare ist ein Scribd-Unternehmen logo
1 von 48
HTML5游戏之路
             Ready to go? HTML5 Games




11年8月4日星期四
HTML5给游戏带来了什么


             What does HTML5 bring to Games




11年8月4日星期四
HTML5 究竟是什么?
               What HTML5 IS?



             新的标记语言, 拥有了很多新的tag, 比
             如 <canvas>, <audio>, <video>,
             <article>, <nav>



11年8月4日星期四
HTML5 究竟是什么?
             What HTML5 IS?



              现在我们说的广义HTML5,通常还
              包括 CSS3 和 JavaScript engines




11年8月4日星期四
我们能用它来作什么?
             What we can do with these stuff?


             先从 <canvas> 和 <audio> 说起



11年8月4日星期四
Canvas

             实现2D绘图、动画效果




11年8月4日星期四
<audio> 播放音频

             背景声音、 音效、音量控制、 多通道
             还是比较基础的JavaScript API



11年8月4日星期四
Canvas + audio + js engine =?
             能够干什么?

                    有例子么? 当然有...
                  Got an example? Sure...


11年8月4日星期四
经典的坦克大战
             Classic Tank game
             http://www.mhtml5.com/games/tank/




11年8月4日星期四
射击游戏
             Shooting game

             http://dougx.net/plunder/plunder.html




11年8月4日星期四
WHY COOL?



11年8月4日星期四
WRITE ONCE
             USE ANYWHERE



11年8月4日星期四
Saving time with development and Testing




11年8月4日星期四
轻量级
             Lightweight
             Text, Image, CSS, JS




11年8月4日星期四
优化游戏运营 提高效率


             Optimize game operation
             Improve efficiency



11年8月4日星期四
有多少支持HTML5的浏览器了?

         How many browsers support HTML5?




11年8月4日星期四
还有...
             And...Umm

11年8月4日星期四
终于...      鼓掌!
             Finally ...   Applause!


11年8月4日星期四
也许你会想
             性能⼀一定不行吧...

             You may think
             Performance sucks . right?



11年8月4日星期四
CANVAS在桌面端性能相当好
             CANVAS works pretty well in desktop/laptop


              Chrome、IE9支持图形硬件加速。
              Safari, firefox 部分支持




11年8月4日星期四
“相当好”的定义是 ?
             How good is pretty good?



             如果你要作Tiny wing, Angry bird, 超级
             马里奥, 可以跑到 FPS 60




11年8月4日星期四
那物理引擎怎么办?
             How about physics engine?


             canvas只管画图




11年8月4日星期四
拥抱开放 第三方的引擎
        Embrace open technoogy! 3rd party engines




11年8月4日星期四
BOX 2D
             已经用在了Angry bird 的HTML5版本上
             http://chrome.angrybirds.com/
             JPE
             http://colorhook.com/portfolio/jpe/
             examples/CarDemo/CarDemo.html


             http://colorhook.com/portfolio/jpe/
             examples/RobotDemo/
             RobotDemo.html
11年8月4日星期四
还有更多的JS engine


             crafty
             isogenic 建设类
             Gameclosure 开发中




11年8月4日星期四
3D的场景怎么办?
             How about 3D?



11年8月4日星期四
-浏览器里的3D效果
             -2011.3月WEBGL公布1.0 Spec. 虽然还比
             较初级, 但是已经得到了多个浏览器支
             持.

             Google已经 Port了 QUAKE II 到
             WEBGL.

11年8月4日星期四
Multiplayer Quake II remake with Google GWT
             (Google Web Toolkit)


11年8月4日星期四
Multiplayer Quake II remake with Google GWT
             (Google Web Toolkit)


11年8月4日星期四
多人在线的呢?
             How about multiplayer game?




11年8月4日星期四
WEBSOCKETS

             用来处理服务器和玩家的双向通讯




11年8月4日星期四
NODE.JS
             服务器端的Javasript解释器
             高并发 低消耗


11年8月4日星期四
手机上能用么?
             Does it work in mobile?


11年8月4日星期四
没问题! No problem!


             IOS + Android .. + WP7?



11年8月4日星期四
11年8月4日星期四
但 HTML5手机游戏面临挑战

             Still. mobile HTML5 game faces challeange




11年8月4日星期四
<audio> 在手机上的问题比较大
             <canvas>的绘制速度偏慢,尤其在
             iframe中效率更低。 硬件加速并非所有
             硬件支持
             Android适配问题
             Javasript引擎的速度,物理类




11年8月4日星期四
问题总会被解决
              Problem will be solved anyway,
             just take a while

               机器的性能在飞速提升




11年8月4日星期四
还有impact js
              http://m.agame.com/game/Biolab
              +Disaster/en_US/index.html




11年8月4日星期四
作HTML5游戏有赚钱么?
             Does HTML5 game make money ?




11年8月4日星期四
有!但目前大多在手机游戏领域
              Definitely YES, but only in mobile
             right now


              在日本已经有不少手机HTML5游戏, 收
              入相当不错


11年8月4日星期四
巨头们也在布局




                http://www.warimals.com/




11年8月4日星期四
为什么先在手机游戏?
             Why mobile?
             兼容性 智能手机的兴起
             手机HTML5游戏的转换率高于下载游
             戏,体验简单
             用户对效果的预期并没有那么高,
             HTML5游戏已经能实现不错的效果
             社交游戏, ARPU高


11年8月4日星期四
HTML5 游戏的机遇
             Opportunity




11年8月4日星期四
移动设备的生产量 2011年超过PC, 智能
             手机占绝对主流
             巨头的支持, 微软Windows8,Google,
             Apple, Facebook
             社交游戏的盛行
             手机硬件和浏览器开放更多API
             更灵活的市场渠道 browser based,
             apk,app...

11年8月4日星期四
HTML5游戏在中国
             HTML5 games in China


              HTML5研究小组 游戏比赛
              更多的产品在孕育中...




11年8月4日星期四
有问题?
             Any Question?



11年8月4日星期四
Thank You



                 CQ_陈琦
                 Chen Qi
11年8月4日星期四

Weitere ähnliche Inhalte

Andere mochten auch

Presentatie joost de jong 23 februari 2017 naar een europese voedselstrategie.
Presentatie joost de jong 23 februari 2017 naar een europese voedselstrategie.Presentatie joost de jong 23 februari 2017 naar een europese voedselstrategie.
Presentatie joost de jong 23 februari 2017 naar een europese voedselstrategie.Joost de Jong
 
小V童書系列 03 【神奇冒險旅程 】
小V童書系列 03 【神奇冒險旅程 】小V童書系列 03 【神奇冒險旅程 】
小V童書系列 03 【神奇冒險旅程 】Yu-Ping Su
 
Building High Performance APIs In Go Using gRPC And Protocol Buffers
Building High Performance APIs In Go Using gRPC And Protocol BuffersBuilding High Performance APIs In Go Using gRPC And Protocol Buffers
Building High Performance APIs In Go Using gRPC And Protocol BuffersShiju Varghese
 
All about Malaysia
All about MalaysiaAll about Malaysia
All about Malaysialilbeans
 
하비인사업계획서0624홍보
하비인사업계획서0624홍보하비인사업계획서0624홍보
하비인사업계획서0624홍보비인 하
 
Lesson1
Lesson1Lesson1
Lesson1hstryk
 
About new messaging app "Jumvo" by genesix at Social Media Day #smd_tokyo
About new messaging app "Jumvo" by genesix at Social Media Day #smd_tokyoAbout new messaging app "Jumvo" by genesix at Social Media Day #smd_tokyo
About new messaging app "Jumvo" by genesix at Social Media Day #smd_tokyogenesix, Inc
 
Trabajo de computacion 4ºd
Trabajo de computacion 4ºdTrabajo de computacion 4ºd
Trabajo de computacion 4ºdxiomaraleones
 
工高生が高専生にマイコンカーラリーの紹介をします
工高生が高専生にマイコンカーラリーの紹介をします工高生が高専生にマイコンカーラリーの紹介をします
工高生が高専生にマイコンカーラリーの紹介をしますsn_monochr
 
Pre Commercial Thinning Work Examples
Pre Commercial Thinning Work ExamplesPre Commercial Thinning Work Examples
Pre Commercial Thinning Work Examplesdavkearn
 

Andere mochten auch (15)

Presentatie joost de jong 23 februari 2017 naar een europese voedselstrategie.
Presentatie joost de jong 23 februari 2017 naar een europese voedselstrategie.Presentatie joost de jong 23 februari 2017 naar een europese voedselstrategie.
Presentatie joost de jong 23 februari 2017 naar een europese voedselstrategie.
 
HR FINAL PLAN
HR FINAL PLANHR FINAL PLAN
HR FINAL PLAN
 
小V童書系列 03 【神奇冒險旅程 】
小V童書系列 03 【神奇冒險旅程 】小V童書系列 03 【神奇冒險旅程 】
小V童書系列 03 【神奇冒險旅程 】
 
Building High Performance APIs In Go Using gRPC And Protocol Buffers
Building High Performance APIs In Go Using gRPC And Protocol BuffersBuilding High Performance APIs In Go Using gRPC And Protocol Buffers
Building High Performance APIs In Go Using gRPC And Protocol Buffers
 
Twitter tactics
Twitter tacticsTwitter tactics
Twitter tactics
 
All about Malaysia
All about MalaysiaAll about Malaysia
All about Malaysia
 
하비인사업계획서0624홍보
하비인사업계획서0624홍보하비인사업계획서0624홍보
하비인사업계획서0624홍보
 
Lesson 2
Lesson 2Lesson 2
Lesson 2
 
Lesson1
Lesson1Lesson1
Lesson1
 
About new messaging app "Jumvo" by genesix at Social Media Day #smd_tokyo
About new messaging app "Jumvo" by genesix at Social Media Day #smd_tokyoAbout new messaging app "Jumvo" by genesix at Social Media Day #smd_tokyo
About new messaging app "Jumvo" by genesix at Social Media Day #smd_tokyo
 
Trabajo de computacion 4ºd
Trabajo de computacion 4ºdTrabajo de computacion 4ºd
Trabajo de computacion 4ºd
 
De Haafakkers digitale schoolkrant (juni 2011)
De Haafakkers digitale schoolkrant (juni 2011)De Haafakkers digitale schoolkrant (juni 2011)
De Haafakkers digitale schoolkrant (juni 2011)
 
工高生が高専生にマイコンカーラリーの紹介をします
工高生が高専生にマイコンカーラリーの紹介をします工高生が高専生にマイコンカーラリーの紹介をします
工高生が高専生にマイコンカーラリーの紹介をします
 
Sovereignty of god
Sovereignty of godSovereignty of god
Sovereignty of god
 
Pre Commercial Thinning Work Examples
Pre Commercial Thinning Work ExamplesPre Commercial Thinning Work Examples
Pre Commercial Thinning Work Examples
 

HTML5游戏之路