Ping Pong Madness – Shot (Part 02)

Shots are defined on XML files. Each Shot have a name, a return speed and a movement. The movement is a set of moves with a start, a horizontal speed and a vertical speed. Attributes: name: just for information purposes returnSpeed: the speed after the shot is hit...

Ping Pong Madness – Splash Screen (Part 01)

First of all, setup your development workspace and create a new Android Project. Our first Activity is a Splash Screen (GameSplash) that appears while the game is loading and after a few seconds it will transition to the next screen (GameSelect).    GameSplash.java do...

How To Setup Your Development Workspace

You need to download and install the Android SDK, download Eclipse, download and install the Eclipse ADT. Links: Download Android SDK: http://developer.android.com/sdk/index.html Installling Android SDK: http://developer.android.com/sdk/installing.html Download...

Ping Pong Madness Tutorial – Creating Android Games

I will teach how to create a simple action game and the game will look like the above video. I will not give much details about the android/java basics, so feel free to use the comments section to ask questions. This was my first game, so there is probably a lot of...

How To Calculate The MD5 Hash

As you know, you shouldn’t store passwords and other sensitive data in plain text. A good approach is to store the data’s MD5 hash. public static String calcMD5(String s) { try { MessageDigest digest = java.security.MessageDigest.getInstance("MD5");...