首页 | 本学科首页   官方微博 | 高级检索  
     

基于BREW MP平台的手机触摸屏游戏的实现
引用本文:王伟,唐春晖.基于BREW MP平台的手机触摸屏游戏的实现[J].计算机应用,2012,32(Z1):180-181,184.
作者姓名:王伟  唐春晖
作者单位:上海理工大学光电信息与计算机工程学院,上海,200090
摘    要:随着手机无线增值业务的不断发展,手机游戏也越来越受到大众的追捧.BREW是高通推出的基于CDMA网络的“无限互联网发射平台”上增值业务开发运行的基本平台.针对以往BREW仅在功能机上的应用程序,通过一个简单的贪吃蛇的例子,利用Brew API中的IDISPLAY接口和timer定时器定时描画和更新游戏画面,和EVT_PEN触摸屏事件来完成触摸屏效果的贪吃蛇游戏.由于贪吃蛇游戏的画面简单和图形简单不需要加载图片.本系统采用的是BREW技术,用C语言代码进行编写,该项目具有贪吃蛇的基本功能,在整个贪吃蛇游戏中,很好地完成了触摸屏的结果.

关 键 词:无线二进制运行时环境  触摸屏  事件处理  手机游戏

Realization of touch-screen mobile phone game based on BREW MP
WANG Wei , TANG Chun-hui.Realization of touch-screen mobile phone game based on BREW MP[J].journal of Computer Applications,2012,32(Z1):180-181,184.
Authors:WANG Wei  TANG Chun-hui
Affiliation:(School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200090,China)
Abstract:As mobile phone’s wireless value-added business develops,mobile phone games are also more and more popular.QUALCOMM’s BREW based on the CDMA network wireless Internet launch platform",is the wireless value-added business development and operation’s basic platform.Aiming at the past function of the BREW application,through a simple snake case,the authors used the BREW API IDISPLAY interface and timer to time and update the game picture and used EVT_PEN events to realize touch-screen snake game.Because the pictures and graphics of the game are simple,the images need not to be loaded.The system used BREW with the C language code to realize this game.This project has the basic function of the snake.In the whole snake game,it completes the results of the touch-screen game.
Keywords:Binary Runtime Environment for Wireless(BREW)  touch-screen  event handling  mobile phone game
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号