★ wanayoo — archive 1999 http://javaboutique.webdeveloper.com/tutorials/Java_Game_Programming/index.htmlNouvelle recherche | Portail wanayoo
Computer Digital Expo


Find a Web Host With:
CGI Access
DB Support
NT Servers
UNIX Servers
Telnet Access

advanced search
Internet News
Internet Investing
IT
Windows Technology
Linux/Open Source
Developer
Interactive Marketing
xSP Resources
Small Business
Wireless Internet
Downloads
Internet Resources
Internet Lists
International
EarthWeb
Career Resources

Search internet.com
Advertise
Corporate Info
Newsletters
E-mail Offers
Be a Commerce Partner
Free Market Research
FREE Credit Report
Web Hosting
Business Search
Best Deals on PDAs!
Online Credit Reports
Is Your Credit Bad?
Build an Online Store
Software Licenses
Internet Jobs
FlashKit
Gif.com
HierMenusCentral
JavaBoutique
JavaScript.com
JavaScriptSource
WebDev Jobs
JustSMIL
ScriptSearch
StreamingMediaWorld
Web Hosts
WebDevelopersJournal WDVL
WebDeveloper.com
WebReference.com
XMLFiles.com
CGI
HTML
Java
JavaScript
Web Design and Promotion
Web Site Development
E-mail Address:


Can you receive
HTML e-mail?

Yes   No

Zip Code:


Tutorials : The Java Game Development Tutorial :

Fabian is currently studying Computer Science in Munich, Germany, and is 22 years old. His Java games and tutorials, (in both English and German) can be found on his site, http://www.javacooperation.gmxhome.de.

The Java Game Development Tutorial

After a lot of hard work, we have made it to finish the English version of the tutorial. As I said, you should be already able to program in Java, although you don't have to be a expert! The tutorial will give you a very detailed introduction into the development of online games using Java. We will talk about Java Applets because everyone has a Internet browser, so everyone is able to play these games without installing the JDK! The first 5 chapters will lead you from the basic structure of a applet to the development of a whole (although pretty small) game. The next chapters (6 - ...) will give you solutions to problems like AI, level editors, random generation of landscapes... . At the end of every chapter you'll find a link to download the sourcecode of the applet we programmed in this chapter and you can take a look at the working applet too. Alright, here we go!


  1. Basic structure of an applet
  2. Animation
    1. Move a ball
    2. Double buffering
    3. Ball bouncing and change the direction
  3. Sound and Gif's
    1. Using sound in applets
    2. Using pictures in applets
  4. Event handling in applets
    1. Mouse events
    2. Keyboard events
  5. The first complete game
    1. Outline of the program and structure of classes
    2. Random movement of the ball
    3. Hit a ball by clicking on it
    4. Count score and loose lifes
    5. Change the mouse pointer
    6. Start the game after double clicing on the applet
  6. Advanced topics
    1. Artificial intelligence for a pong like game
    2. Generation of random 2D landscapes
    3. Leveleditor
     

    How to Add Java Applets to Your Site

    New on the Java Boutique:

    New Article:
    A Barebones Guide to Usability Testing
    At first glance, usability testing may seem like unnecessary, or additional work. In todays budget slashed world, it is not uncommon for projects not to have the luxury of this valuable phase. This is a dangerous path to tread. Let's look at how we can incorporate usability testing into our design process.
    ... [more articles]

    New Tutorial:
    Java Certification Path API
    Certificate based security forms the basis for SSL (Secure socket layer) transactions? Every year billions of transactions involving trillions of dollars are done safely using the SSL protocol. This week we'll look at the role of the Java certification path API and see how it provides a mechanism to implement certification path functionality.
    ... [more Tutorials]

    Elsewhere on internet.com:

    WebDeveloper Java
    Lots of Java information on webdeveloper.com

    WDVL Java
    Thorough Java resource at the Web Developer's Virtual Library.

    ScriptSearch Java
    Hundreds of free Java code files to download.

internet.com logo






Developer News

Apache Updates Popular HTTP Server

Is Adobe Targeting Microsoft's InfoPath?

Oracle Takes on Collaboration Market



Database Journal Launched!
Jupiter Media has announced the launch of Database Journal. DBJ offers SQL courses and other database related resources for beginner to expert developers.



Scrolling Text
This is a suite of three applets that displays scrolling text using an array of images. The detailed description of array of each applet is provided.
Download of the Week
DS PageFlipText
This applet displays a page-flip effect between texts. Over the animation you can also insert an image and a scroll-text.

JB User Poll
Which version of Java do you use the most?
The JavaBoutique Top 15:
1. ChompText
2. PulseText
3. DJPopMenu
4. NavBar
5. RushHour
6. PingPong
7. 3DMaze
8. AScroll2
9. Viewer
10. AnimLetters_anim
11. Encyclo
12. Distorter
13. BMI
14. MusicKeyboard
15. AdvPano
Want more? Check out our Top 100!

Refer-It
Affiliate Program and Referral Directory.
New on internet.com
Cisco Exploit Is Active
Security researchers have increased the threat level on a vulnerability affecting Cisco routers and switches after an exploit was posted to a popular mailing list.

The 3G Tokyo Time Machine
What will a 3G wireless future be like? Step into DoCoMo's time machine and find out.

SBA's Whistling Dixie
Small businesses throughout the South are extended the opportunity to meet one-on-one with government agencies and large corporations to obtain near-term contract opportunities for their products and services.


Jupitermedia is publisher of the internet.com and EarthWeb.com networks.
Copyright 2003 Jupitermedia Corporation All Rights Reserved.

Legal Notices,  Licensing, Reprints, & Permissions,  Privacy Policy.
http://www.earthweb.com/
http://www.internet.com/