计算机与现代化

• 应用与开发 • 上一篇    下一篇

基于LayaFlash引擎实现的HTML5游戏开发

  

  1. (南京审计大学金审学院,江苏南京210023)
  • 收稿日期:2016-09-09 出版日期:2017-07-20 发布日期:2017-07-20
  • 作者简介:徐卉(1981-),女,江苏南京人,南京审计大学金审学院教师,硕士,研究方向:计算机应用。

Development of HTML5 Game Based on LayaFlash Engine

  1. (Jinshen College, Nanjing Audit University, Nanjing 210023, China)
  • Received:2016-09-09 Online:2017-07-20 Published:2017-07-20

摘要: 分析比较将Flash游戏转换为HTML5游戏的方法,并使用Flash AS3设计一款游戏,通过Layabox产品框架集中的LayaFlash,将其转换成HTML5游戏,按照转换要求修改初始化代码及改变素材加载方法,经过编译调试后,在手机浏览器上访问测试通过,最后进行了性能分析。

关键词: LayaFlash, HTML5, Flash, ActionScript 3.0, 移动应用开发

Abstract: This paper analyzes and compares the methods for converting Flash game to HTML5 game, uses Flash AS3 to design a game, converts the game into HTML5 based on LayaFlash in Layabox product frameset, according to the conversion requirements,modifies the initialization code and changes the material loading method. After compiling and debugging, the game has passed the test in the mobile phone browser. At last, the performance analysis is carried out.

Key words:  LayaFlash, HTML5, Flash, ActionScript 3.0, mobile application development

中图分类号: