Choose tutorials: Java or Android

Java game framework

In this tutorial I will present a basic game flow and a game framework that I've made and that we will use for making java games.
It’s good to have a well organized framework so that the code is readable and that you can easier found what you are looking for.

Game framework classes

Keyboard input - Moon lander

In this java tutorial you will learn how to get keyboard input and moving the object based on that input.
We will make a game with the goal to land the rocket on the landing area as fast as possible.

Moon lander game screenshot

Mouse input - Shoot the duck

In this java tutorial you will learn how to get mouse input.
The goal of this game will be to kill as many ducks as possible before 200 ducks runaway.

Shoot the duck game screenshot

Animation - Helicopter Bettle

In this java tutorial you will learn how to make animations e.g. explosions and how to move background image in a loop e.g. clouds.
For this tutorial I made a game with a goal to destroy as many enemy helicopters as you can with a limited ammo.

Helicopter Battle game screenshot

JInput Joystick Test

Here is the program written in Java for testing joysticks.
In this article I will explain where to put JInput API files.

JInput Joystick Test