1 / 16

蓄势待发

蓄势待发. 知识准备阶段. Target. J2ME 开发手机游戏. 你所需要的唯一 IDE. NETBEANS. 预期成果. 1.Helloworld ( 0 秒钟开发 helloworld ) 2. 手机现原形 3. 载入图片(拖拉打 1min ) 4. 画“囧” 5. 天外飞仙( UFO ) 1.0. J2ME. JAVA 2 Micro Edition 可以简单方便地开发手机软件. 游戏三要素. Logic Data Display. J2ME 手机游戏知识准备. 程序入口 J2ME J2SE C++. display.

agnes
Download Presentation

蓄势待发

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 蓄势待发 知识准备阶段

  2. Target J2ME开发手机游戏

  3. 你所需要的唯一IDE NETBEANS

  4. 预期成果 1.Helloworld(0秒钟开发 helloworld) 2.手机现原形 3.载入图片(拖拉打1min) 4. 画“囧” 5.天外飞仙(UFO)1.0

  5. J2ME JAVA 2 Micro Edition 可以简单方便地开发手机软件

  6. 游戏三要素 Logic Data Display

  7. J2ME手机游戏知识准备 • 程序入口 J2ME J2SE C++

  8. display • 需求&&供给 Canvas(画布)Graphics(画笔) Display(显示器) • 常用的函数 getWidth();getHeight();

  9. 游戏通用架构

  10. 具体到J2ME • 主类:MIDlet • 画图类:canvas(游戏画图类:gameCanvas) • 逻辑类:???(自命名)

  11. 用到的技术 • API调用(最简单也是最实用) 包括Sprite,用户输入的处理 • 事件响应 • 双缓冲 • 多线程

  12. 实战操演 It ‘s show time now!

  13. 开发步骤 • 1.搭建架构 • 2.明确接口 • 3.实现逻辑 • 4.运行 • 5.生成

  14. 创建图像类,是用Image类里面的静态方法createImage(),而不是用new操作符。创建图像类,是用Image类里面的静态方法createImage(),而不是用new操作符。 • 画笔的设置,包括颜色字体等

  15. Good news 前面演示代码在官方博客提供下载 http://www.cnblogs.com/SCUTMSC/ 在里面还有手机软件设计大赛&&手机主题设计大赛。 欢迎参与到大赛的潮流中来

  16. 鸣谢 • 手机软件俱乐部 • 广大的听众 • 华南理工大学计算机科学与工程学院团委、学生会 

More Related