基于MDA的代码生成技术在手机游戏开发中的应用(修改)
pplication of Code Generation Based in MDA in Development of Cell Phone Game
针对如何快速高效率开发手机游戏提出了一个代码生成器的设计方案,用来在手机开发过程中实现手机游戏代码的自动生成。本文首先介绍了MDA以及代码生成技术的相关知识。讨论了代码生成技术的实现原理和代码生成器的结构。代码生成器解析GDL描述文件和模板文件,调用游戏基础类GFC和基础构件生成J2ME手机游戏。最后详细介绍了使用代码生成器生成一个通用的手机游戏的例子。
iming at the problem how to develop a mobile game more in a short time ,the paper bring forward a project about code generation. Firstly, the theory of MDA and code generation technology is introduced in the paper .Then it mainly introduce the processing phrases of the code generation based in MDA and the structure of the code generation .The code automatic-generator could parse the GDL description file ,and then combine the Extensible file to generate the application which is called the Mobile phone game .At last, a cell phone game is generated by code generation through maintain the GDF file .
丁卓、丁月华、徐浩、王颂贞
计算技术、计算机技术电子技术应用
手机游戏J2MEGFCGDL
mobile phone gameJ2MEGFCGDL
丁卓,丁月华,徐浩,王颂贞.基于MDA的代码生成技术在手机游戏开发中的应用(修改)[EB/OL].(2008-05-07)[2025-08-02].http://www.paper.edu.cn/releasepaper/content/200805-157.点此复制
评论