by thiagolr | Sep 4, 2012 | Tutorial
This part will get the Level list by Mode from the Database and then will display them on the corresponding tabs. GameSelect.java We will edit the existing GameSelect.java file and we will add a CustomAdapter called LevelAdapter, which will have the level name, score,...
by thiagolr | Aug 24, 2012 | Tutorial
The Database will store all the Levels and the records information. There are public methods to fetch levels by type, create records, fetch records and fetch stars. Table: levels _id – unique identifier level_type – level type, tutorial or normal...
by thiagolr | Jul 19, 2012 | Tutorial
Modes: TUTORIAL This mode shows the Shot types, their speed and their movement. LEVEL This mode has a predefined set of Sequences on each Level. Each hit worths one point and increases the multiplier. If the player misses a Shot, the multiplier goes back to 1x. Stars:...
by thiagolr | Dec 5, 2011 | Tutorial
Levels are defined on XML files. Each Level has a name and a set of Sequences and each Sequence has a type. Attributes: name: just for information purposes type: which Sequence will be used Example 1: This is a simple level that will have Sequence 1 and then Sequence...
by thiagolr | Nov 21, 2011 | Tutorial
Sequences are defined on XML files. Each Sequence has a name and a set of Shots. Each Shot has a type, a start and an interval. Attributes: name: just for information purposes type: which Shot will be used start: where the Shot will start vertically (percentage of the...
by thiagolr | Nov 16, 2011 | Tutorial
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...
by thiagolr | Nov 9, 2011 | Tutorial
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...
by thiagolr | Nov 7, 2011 | How To
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...
by thiagolr | Nov 3, 2011 | Tutorial
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...
by thiagolr | Oct 27, 2011 | How To
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");...