用MIDP2.0 GAME API对手机游戏进行优化开发  

Develop and Optimize J2ME Mobile Game with MIDP2.0 GAME API

在线阅读下载全文

作  者:韩冬[1,2] 李炜[3] 

机构地区:[1]同济大学软件学院,上海201804 [2]安徽电子信息职业技术学院计算机系,安徽蚌埠233030 [3]安徽大学计算机科学与技术学院,安徽合肥230039

出  处:《计算机技术与发展》2009年第1期180-183,共4页Computer Technology and Development

基  金:安徽省自然科学研究项目(KJ2008B097)

摘  要:文中主要研究了J2ME开发技术中MIDP2.0游戏开发包的使用和J2ME手机游戏的优化方法与技巧,对上海美通公司提供的五款不完善的手机游戏进行了优化和改进。原游戏包一味使用面向对象技术,使用了过多的类嵌套,这样就不可避免地造成类膨胀,产生大量的、无用的重复代码,增加了系统开销,大大降低了程序的效率。文中采取的主要优化策略是尽可能地使用有限的面向对象的方法,尽可能地使用结构化编程的方法,移除不必要的继承关系、多余的类和接口,查找游戏的瓶颈,对游戏程序使用混淆器,以减少系统的开销,提高游戏的运行性能。经过测试,证明采取的优化策略是完全可行的。Mainly explores how to develop J2ME mobile telephone games with MIDP 2.0 GAME API,and how to optimize J2ME mobile telephone ganges. In the meantime, five existing industrial mobile telephone games provided by Mtone Co. Ltd. have been optimized and improved. Object - oriented technology, such as class nesting, is usecl improperly in original games. It inevitably leads to class expansions and large numbers of useless repetitious code, and penalties to the performance. The primary optimization strategies applied are limiting the usage of object- oriented programming and instead using structured programming where possible, removing unnecessary inheritance, redundant classes and interfaces, tackling of the performance bottle- neck and obfuscating programs. With all these optimization strategies improve the performance of these significantly and reduce greatly the size of the jar file. It shows that the game optimization techniques produced and discussed in this paper are really helpful to improve the performance of the mobile games,which could be further used in the future mobile game development.

关 键 词:手机游戏 移动开发 MIDP 2.0 J2ME 优化 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象