Welcome to our gamedev journal of our newest title, "Sam, the Sumbot". We start with an introduction of the concept and the tools we use.

So let's have a look at the following concept art.

You help Sam, the cute little math robot catch the falling numbers. The control is quite easy,You can tap on the left or the right sight of the screen to move the bot.


The numbers are falling down on tracks (5 at the moment) in a Tetris-like style. The bot jumps from track to track and catches to falling numbers. This catched numbers are added to a subtotal which you have to calculate by yourself. As a help the catched numbers are shown in the slots at the bottom of the screen. There is also the number 0, which obviously occupies a slot without adding to the sum. The total sum you have to get is shown as large number in the background.
You receive more points, the less numbers you used to get the sum. A new random number will appear in the background. If you catch more than 5 numbers or overshoot the sum, you loose the game.

The idea behind this game is to combine mental arithmetics with reaction and skill. You are under a lot of pressure while keeping track of the subtotal, evading the numbers which you don't need and of course, catching the right ones.

So far so good. Let's go to the more techical stuff.

Technical stuff

To develop this game, we use the so called Fairy Framework we have written for our first mobile game, Fairy King. This framework was written for Unity3D. We put a lot of effort into writing the code so that it is recycable. All the things like UI, splashscreen, ad integration, leaderboard, level design, spawn mechanism, collisions and lifetime management are reusable (I'm pretty proud of my spawning mechanism, perhaps I will write a tutorial about it in the future).

But of course we didn't invent all from scratch, so we want to point out the plugins we use and share the experiences we made integrating them.


Admob Plugin - This is a really cool plugin which helps integrating ads on Android and iPhone. It's easy to integrate on Android. Just follow the instructions. On iPhone it's quite tough. In the Xcode project you need to link additional libraries. The problem with the instructions is that not all libraries you have to link are mentioned. While desperatly searching for an error, I stumbled across following stack overflow answer. You have to add EventKit.framework and EventKitUI.framework to the list. That did the trick. Since then, it's working like a swiss clockwork.

Microsoft Ads Plugin - For a limited time the microsoft ads plugin from prime31 is free (until mid of 2015). So catch it if you can. This is so easy to integrate, I can't really believe it. No try-and-error, no google for problem solving, just import the package, configure your app and ad id and you're ready to go.

Google Play Leaderboard - if you carefully read the instructions, it's easy to integrate this plugin. Again, for iPhone you need to link some libraries. The bad side for iPhone users is that they have to login with a Google+ account. That's why we haven't integrated the leaderboard on iPhone yet. Another thing is that I found an error while targeting a specific leaderboard. But I could fix it. Long lives open source. The issue should be fixed soon on Github.

Where we are

We have a working alpha with two levels, the basic level and a level where we speed up the numbers and reducing the count of available slots by 1. We are now trying to find the optimal numbers of tracks.

To be continued...

In one of next few journals I want to talk about the mathematical and geometrical background of our number figures. The topic is: how can we map the numbers 0-9 to geometrical figures. Especially the number 2 is difficult. But with help from a math professor we solved that, the results are quite impressive (he's a geometry expert and an amazing teacher).

So stay tuned and follow us on Twitter or Facebook.