Mid April update on Android conversion of Grenade!

April 18, 2016 Leave a comment
Okay, time for a quick update on the early work on this PC to Android conversion.

I’ve written a task list as shown below to follow in order to convert my game. I’ve tried to make each task achievable in a small amount of time, anything from 30 minutes to a few hours. I’ll generally try to work down the list until the game is complete. The list will change over time and I’ll update it here when it does.

convert all graphics to png or left as jpg – done
add transparency to all graphics – done
check all sounds are mp3 or ogg (check online) – converted to OGG – done
redesign control system, write design doc – done
generate 500 name list – done
create all types required in b4a
test loadmission code on b4a
draw level on b4a
scroll around map on b4a
add simple movement code using screen taps
add enemy movement
add fire code
add grenade / rocket dragging
add enemy AI
add enemy bullets
add collision detection
add map collision detection
look at route finding using a* code
add prisoners
add crate pickup code
create database for storing names and soldier details

As you can see, I’ve already completed the first few items on the list. The PC game was written using Blitz Basic which didn’t support 2D transparency in sprites and needed a set colour to use to blank out as a background colour.
Here’s what I mean:

 the PC image has a white background which BlitzBasic was told to treat as totally transparent and the shadow itself is not see through.

 after updating the image using Paint.Net I remove the white background and half the transparency level of the blak image, when drawn as a texture using LibGDX this will give a much better looking shadow allowing for the grass or other ground features to show through.

The other changes to graphics have been removing graphics that won’t be required in the Android version, like custom mouse pointers, some of the animated menu items and also converting everything from BMP to PNG format.

The theme tune has been converted from MOD format to MP3 using a free online tool I found on Google.

Regarding the control design, the PC version required you to hold down G then click to throw a Grenade, R to fire a rocket, or T to call in an airstrike. Obviously I can’t do this for the Android version, so I’m going to copy the methods used by the game Tiny Troopers, and use the method of having a grenade icon which you can press then drag to the target to fire a grenade or rocket.
for airstrikes I’m toying with the idea of using a minimap to call in a strike, as done in Call of Duty on PC, if this doesn’t work then I’ll use the same drag method.

One feature I love in Cannon Fodder is that every soldier has a different name, my PC game didn’t have this but I’m going to add it to this game, I’ve used an online name generator to make a list of 500 unique names, I use Excel to remove any duplicates. When Cannon fodder was made, the first soldiers on the list were named after the developers, so let me know if you want to be on the list! When each soldier dies, he’ll be given a grave in a graveyard and the player will be able to press any of these graves to see who it is and how they died. I’ll use a SQL database for storing this.

I’ll leave it there for now, I’ll do another update when I’ve completed some more points, feel free to comment and like this post if you want me to continue.

Old source code recovered!

April 15, 2016 Leave a comment

Good news everyone! (insert Prof Farnsworth voice here), I have recovered the source code for a game I started writing 15 years ago!

The game was called Grenade! and it was a Cannon Fodder clone. It got as far as being signed with a small game publisher, but never got released. Since then I lost the source code and thought I’d never see it again.

Recently, I got in touch with someone who was involved with the company, and it turns out he still have access to the old FTP archive from back then. He took a look for me and recovered my old game! I got it the other day and have already started going through it to prepare it for an Android version.

So far I’ve got as far as converting all the graphics files to PNG format, adding transparent backgrounds and a transparent level to shadow graphics.

I’ve also converted all the sound effects from WAV to OGG and the music form MOD to MP3.

I’ve written up a design document as the control scheme on PC won’t work for phones and tablets. Luckily there is a mobile game called Tiny Troopers that is very similar to mine which I can base my controls on. Should be pretty easy to implement.

Here’s some old PC screenshots:

I will post screenshots on here as I work on the game and hope to upload early test versions in a few weeks.


Categories: Games development

Plans for 2016

January 25, 2016 Leave a comment

This is a quick post to say where I’ve been and what my plans are for 2016

I’ve been focused on my day job and family for the last year and therefore have not been doing much games development.

This year I plan to dedicate several hours a week to this, my plans for the year are…


Add features to the Orchard Crush game

Write a series of blog posts on how I wrote this game

Add features to the twin stick shooter game

write blog posts to show how I wrote this

Write 2 new Android games using B4A and the LibGDX library

Write 2 Android applications

Review the best Google Cardboard Apps I can find and post videos on my Youtube channel.

Download Twin Stick shooter and source code now!

August 28, 2015 Leave a comment
Categories: Games development

New Game tutorial series incoming soon!!!!

August 25, 2015 Leave a comment

Here’s a teaser video for the game the new tutorial series shows you how to make, using LibGDX and B4A. Look out for more in the following weeks….


Orchard Crush released – my latest game (Candy Crush Saga style game) – Includes Source Code

September 1, 2014 Leave a comment

I’ve just uploaded the first version of my latest game, Orchard Crush to the Google Play Store. It’s a free game where you need to select groups of two or more fruits. Score as much as you can in 60 seconds. This is the first version, I’ll be adding online scoreboards and achievements soon. I’ll also release the source code for you to use yourself. This game could then be adapted into a Candy crush style match 3 game or any other matching type game.


Have the source code too:


Flappy Bird LibGDX version

March 17, 2014 2 comments


I have started the tutorial series on using LibGDX to write games using Basic4Android

Follow this link to our sister blog site to view the tutorial


I’ve finished the first version of my Flappy Bird clone using the LibGDX library with Basic4Android. Download the source code here:

Cloney Bird LibGDX Source Code

I’m planning on making a short Youtube series on how this all works.

UPDATE: Sound is now working. I have also added many comments to the code to make it easier to read.

b4alogolibgdx logo

%d bloggers like this: