您好,欢迎光临本网站![请登录][注册会员]  
文件名称: Java DevelopmentDeveloping Games with the Game API
  所属分类: Java
  开发工具:
  文件大小: 662kb
  下载次数: 0
  上传时间: 2010-09-16
  提 供 者: os***
 详细说明: 1 -Introduction....................................................................................................................................... 2 1.1 -About this white paper ........................................................................................................... 2 1.2 -System requirements............................................................................................................. 2 2 -Siemens Game API ....................................................................................... .................................... 3 3 -Game Canvas .................................................................................................................................... 4 4 -Game Logic ....................................................................................................................................... 5 5 -Game Elements................................................................................................................................. 8 5.1 -Sprites ................................................................................................................................... 8 5.1.1 - What is it?................................................................................................................ 8 5.1.2 -Constructing sprites.................................................................................................. 8 5.1.3 -Moving sprites ........................................................................................................ 10 5.1.4 -Animating sprites.................................................................................................... 10 5.1.5 -Detecting collisions................................................................................................. 11 5.2 -Tiled Layer ........................................................................................................................... 13 5.2.1 -What is it?............................................................................................................... 13 5.2.2 -Constructing Tiled Layers....................................................................................... 14 5.2.3 -Filling the Tiled Layer cells ..................................................................................... 16 5.2.4 -Animated Tiles........................................................................................................ 18 5.3 -LayerManager ..................................................................................................................... 21 5.3.1 -What is it?............................................................................................................... 21 5.3.2 - Using a Layer Manager ......................................................................................... 21 6 -Sounds and special effects ........................................................................................................... 23 6.1 -Playing sounds and tones ...................................................................................................23 6.1.1 -Player ..................................................................................................................... 23 6.1.2 -Tones ..................................................................................................................... 24 6.2 -Vibrator ................................................................................................................................ 25 6.3 -Light ..................................................................................................................................... 25 6.4 -Leds..................................................................................................................................... 26 7 -Performance Considerations......................................................................................................... 28 7.1 -General performance tips .................................................................................................... 28 7.1.1 -Rule of thumb ......................................................................................................... 28 7.1.2 -Measuring your code.............................................................................................. 28 7.1.3 -Object Creation ...................................................................................................... 29 7.1.4 -Strings .................................................................................................................... 30 7.1.5 -I/O........................................................................................................................... 31 7.1.6 -Exceptions.............................................................................................................. 32 7.1.7 -Tools....................................................................................................................... 32 7.2 -Game performance tips ....................................................................................................... 33 7.2.1 -Siemens Game API ................................................................................................ 33 7.2.2 -Game design .......................................................................................................... 33 7.2.3 -Graphics and double buffering ............................................................................... 34 8 -Conclusion ...................................................................................................................................... 36 A -Source Code ................................................................................................................................... 37 A.1 -Animating Sprites ................................................................................................................ 37 A.2 -Detecting collisions ............................................................................................................. 39 A.3 -Constructing Tiled Layers ................................................................................................... 41 A.4 -Animating Tiled Layers........................................................................................................ 43 ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: Java 3D
 输入关键字,在本站1000多万海量源码库中尽情搜索: