作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (08): 264-266. doi: 10.3969/j.issn.1000-3428.2007.08.093

• 开发研究与设计技术 • 上一篇    下一篇

基于粒子系统的火焰特效在J2ME游戏中的实现

肖春秀,张海翔,陈 纯   

  1. (浙江大学计算机科学与技术学院,杭州 310027)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-04-20 发布日期:2007-04-20

Realization of Fire Effect in J2ME Mobile Games Based on Article System

XIAO Chunxiu, ZHANG Haixiang, CHEN Chun   

  1. (College of Computer Science and Technology, Zhejiang University, Hangzhou 310027)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-04-20 Published:2007-04-20

摘要: 基于粒子系统的特效是广泛应用于PC游戏制作的一项重要技术。该文根据J2ME手机平台的特性,提出了适合J2ME平台的基于粒子系统的火焰特效实现方法,分析了火焰特效的特征,采用程序创建的方法为火焰特效创建了所需的调色板,给出了火焰特效的运动算法和针对平台的优化算法并讨论了火焰特效在游戏应用中的绘制方法以及对绘制速度和顺序的控制方法。

关键词: 手机游戏, J2ME, 粒子系统, 火焰特效

Abstract: This paper introduces a solution with method of modeling and optimization to simulate fire animation based on article system on the platform of J2ME. The method involves 4 aspects: analysis of the character of fire, creation of colour pane, designment of algorithm and optimization of algorithm according to the mobile platform. It shows how to realize the fire effect in the mobile games on J2ME.

Key words: Mobile games, J2ME, Article system, Fire effect

中图分类号: