Blimp Bomber - Android Game

Released on 24 November 2018

Google Play Store: Click here

It's been a while since I released a real game, not a "playable prototype" game. It's also now at a point where 2d games are fairly dead on PC so I decided to make my first mobile game. The game is built completely from scratch, no engine whatsoever. All the resolution and scaling code was written from scratch and I'm pretty happy with the way it turned out. On that subject, I decided to use vector graphics so the images would have lossless quality.

The problem with using vectors on Android is that there's no way to determine if a point exists in them. So for instance, a bomb is dropped and I want to check if the bomb exists in the terrain vector. In order to solve this problem I stole Java's Polygon class and rewrote it for Android - while making the points more precise to allow floats. After that I wrote a custom SVG data parser to parse the path data. Just like how Android parses SVG data from XML, I'm doing the same with the added caveat that I'm making the calculations as well for the Polygon.

Most of the functions listed here are supported in my parser, however extra work needed to be done for the cubic and quadratic B├ęzier curves. Strangely enough, I couldn't find any Java examples so I took the time to write my own methods using the affine combination.