One Game A Month!?#

So I’ve decided to take the One Game A Month challenge. I’ve dedicated a whole menu item to it (yes, that serious 😉 ) and hopefully that will slowly fill out with 12 games…

Still going to work on larger games as well, in fact I may use the 12 smaller games to test out ideas that will go into the larger games.

The sort of things I need to test out and learn are:

  • A* Path finding
  • Turn-based style game structure
  • More complex AI
  • Emergent behaviours from simple rulesets
  • Procedural Content Generation

There’s probably more but that will do for the moment. So hopefully my smaller games will incorporate some of the above so I can learn and create at the same time.

As you can probably tell from the above list, my interests like firmly in roguelikes at the moment. Some examples of roguelikes are:

To find out more, a good podcast is Roguelike Radio. Worth checking out if you are a budding game developer.

Of course after saying all that, my first game is a simple tower building game, I wanted to start simple and just get used to a newer, more open way of working…

 

Test Ads in the Android Admob Unity Plugin

If you have an application all set up with the Android Admob Unity Plugin and you want some test ads so you can test clicking and such without upsetting Admob, here is how to do this.

First you will need your ‘Test Device ID’. The only way I know of to get this is to check the logcat in Eclipse while you device is plugged in (and running your game with Ads showing), search for a line that looks like:

To get test ads on this device, call adRequest.addTestDevice(“Your Test Device ID”);

After you have the device id, add the following method to the AdMobUnityPlugin class:

public static void SetTestMode(string test_device_id){
  AndroidJavaClass jc = new AndroidJavaClass(classname);
  jc.CallStatic("SetTestMode",test_device_id);			
}

Then this should be called before you call StartAds(), i.e.

void Start(){
  AdMobUnityPlugin.SetTestMode("My Test Device ID in here");
  AdMobUnityPlugin.StartAds();
}

That’s it, you should now get test ads. Obviously please remember to remove the call to the SetTestMode method before you deploy for real, however if you forget you can disable test mode in your application settings on the Admob website (just below where you can set the refresh rate).