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. You can also download the tutorial to read it offline! Alright, here we go!
- Basic structure of an applet
- Animation
- Move a ball
- Double buffering
- Ball bouncing and change the direction
- Sound und Gif's
- Using sound in applets
- Using pictures in applets
- Event handling in applets
- Mouse events
- Keyboard events
- New event handling using EventListener
- The first complete game
- Outline of the program and structure of classes
- Random movement of the ball
- Hit a ball by clicking on it
- Count score and loose lifes
- Change the mouse pointer
- Start the game after double clicing on the applet
- Advanced topics
- Artificial intelligence for a pong like game
- Generation of random 2D landscapes
- A leveleditor for arraybased games
- Scrolling
- A shooting spaceship
- Platform game basics
- Class design
- The Player - Object
- The structure and function of the class "Level"
- Unfinished Chapters (only Applets and sourcecode)
- Movement of a cannonball in games like Worms, Ballerburg, Castles... (Applet + Sourcecode), Tutorial will be available someday
- Movement of a snake in a Nibbles like game (Applet + Sourcecode), Tutorial will be available someday