• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
J2 Me Gaming Using Netbeans
 

J2 Me Gaming Using Netbeans

on

  • 4,278 views

 

Statistics

Views

Total Views
4,278
Views on SlideShare
4,271
Embed Views
7

Actions

Likes
0
Downloads
45
Comments
0

2 Embeds 7

http://www.slideshare.net 6
http://translate.googleusercontent.com 1

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

J2 Me Gaming Using Netbeans J2 Me Gaming Using Netbeans Presentation Transcript

  • Visual Mobile Gaming Lê Duy Khánh Sun Campus Ambassador [email_address] BKIT SUN [email_address] Ngô Chấn Nam [email_address] Hứa Phan Minh Hiếu rockerhieu@dng.vnn.vn
      • What is Java ME?
      • What is Netbeans?
    Agenda
      • CLDC & MIDP
        • What To Do/Where To Go
        • Visual Game Builder Demo!
  • NetBeans’ roadmap
  • What Is NetBeans?
    • A comprehensive, modular Java IDE
      • Out-of-box support for Java SE, Java EE, Java ME
      • Large set of 3rd party modules (plug-in's) ‏
      • Intuitive drag-and-drop development
      • Debugger, Profiler, Refactoring, etc...
    • Free and open-source based
      • Open source since June, 2000
      • Large community of users and developers
    • A platform for building applications
      • Rich client Java applications
      • Rich framework of windows, menus, tool bars, actions
  • What's New In NetBeans 6.0?
    • Code editor enhancements
    • Ruby, JRuby, & Ruby on Rails support (*) ‏
    • Easier installation and upgrading
    • Swing GUI data binding (*) ‏
    • Integrated profiling, profiling “points” (*) ‏
    • Integrated visual web features (*) ‏
    • Mobility graphical game builder (+) ‏
    • SOA & UML enhancements
    • Netbeans platform enhancements
    • (*) Topic of an additional tech demo session
    • (+) Will see later in this tech demo session
  • NetBeans 6.1?
    • Performance Enhancements
    • JavaScript Support
    • PHP Support
    • Sharable Projects
    • New MySQL Support in Database Explorer
    • Ruby Rails 2.0 Support
    • ....
    • Netbeans 6.5 Milestone 1
  • Java Platform Architecture
  • Java ME Architecture Host Operating System Configuration (JVM / Libraries) ‏ (e.g. CLDC, CDC) ‏ Profile(s) ‏ (e.g. MIDP) ‏
  • CLDC
    • Connected, Limited Device “Configuration”
    • For Devices with network connectivity
    • But have little memory (~100's KB) ‏
    • “ ... a highly-portable, minimum-footprint Java application development platform for resource-constrained, connected devices”
    • Examples: Cell phones, two-way pagers, PDAs, organizers, home appliances, low-end TV set-top boxes, and point-of-sale (POS) terminals.
  • Mobile Information Device Profile (MIDP) ‏
    • Version 2.0 – JSR 118
    • Profile for mobile information devices
    • MIDP application is called a MIDlet
    • Works on top of CLDC
    • Focus areas:
      • Application delivery & billing
      • Networking & Persistent storage
      • Sound, Timers, User Interface
      • ...
  • CLDC & MIDP
    • Memory requirements
  • MIDP 2.0 User Interface APIs Displayable Canvas Screen Alert Form List TextBox SplashScreen WaitScreen ChoiceGroup DateField Guage ImageItem StringItem TextField Form Items
  • MIDlet Life Cycle
  • demo
  • MIDP 2.0 Gaming APIs
    • High-level API
      • Native code implementations
      • Reduces application size
    • GameCanvas allows painting and query key states
    • Sprite s and TiledLayer s are visual elements
      • Sprites can be animated, transformed, moved and have collision detection.
      • TiledLayers are grid of cells holding images
      • TiledLayers used for large virtual layers (e.g. very large scrolling backgrounds
      • TiledLayers have both static and animated tiles.
  • The Important Classes
    • All (sub)classes under javax.microedition.lcdui
    • GameCanvas
      • Basis for the game UI
    • Graphics
      • 2D rendering space and methods
    • Sprite
      • Visual element consisting of frames
    • LayerManager, Layer, TiledLayer
      • Management of Layers
    • java.util.Timer
      • Scheduling of in-game entities
    • More information in respective javadocs .
  • Mobile Visual Game Builder
  • demo
  • Problems
  • Mobile Gaming What to Do http://www.netbeans.org
    • Download Netbeans 6.0
    • Join Netbeans.org project
    • Do Netbeans tutorials
    • Participate on Netbeans forums
  • Netbeans Visual Web Resources
    • Netbeans Product Site: http://www.netbeans.org
      • Download: previews, current & past releases of IDE, plugins
      • Learning: tutorials, technical articles, flash demos
      • Community: latest news, forums, events, mailing lists
    • Netbeans Wiki: http://wiki.netbeans.org/wiki/
      • Open-source documentation site for Netbeans
    • Planet Netbeans: http://www.planetnetbeans.org/
      • Aggregate for all Netbeans-related blogs
    • Source Code: cvs.netbeans.org:/cvs
      • CVS source code access for Netbeans platform + IDE
  • Fast Track Your Career with Sun!
    • Get FREE Web-based training on Java TM , Solaris TM & more!
      • Visit: http://www.sunacademic.com
      • Course registration code for ABC University is XYZ
    • Increase earnings potential with a Sun Certification!
      • Sun Certified Associate/Programmer for the Java 2 Platform SE
      • Sun Certified Web Component Developer for Java EE
      • Sun Certified Mobile Application Developer for Java ME
      • Sun Certified System/Network Admin for Solaris Operating System
    • Free practice exams
    • Discounted exams fees for academic developers – only US$60 (US$40 in APAC and Latin America) ‏
  • THANK YOU! Visual Mobile Gaming http://www.netbeans.org