A trip down memory lane: My first commercial Android game

Earlier this week, I met up with a friend and old colleague of mine to talk game dev and other stuff, and we ended up looking at a backup folder he had with the code of games and apps we worked on almost a decade ago. For some reason, he happened to have the source code of Tito Pececito, the very first Unity-powered Android game I ever made, and so I saw this as the perfect opportunity to discuss the game’s development, as a sorts of a belated postmortem.


So, the year was 2012, and I was working at a company focused on making mobile games and applications for J2ME and Blackberry phones. However, the Android market had been growing by leaps and bounds at the time, and the company finally decided to develop a game for the platform.

The original plan our bosses had was to remake an old game of theirs that was basically a sprite swap of Space Invaders. However, we knew that such a project wasn’t going to cut it, and somehow managed to convince the higher-ups to give us some creative freedom for the adaptation. A fellow artist, programmer and I then worked around the clock to come up with and implement whichever changes we could to the base game.

Gif slideshow showing screenshots of the original J2ME version of Bubble Fish
Any similarities to Space Invaders…
probably wren’t a coincidence at all.

From the ground up

Since we had to rebuild the game from the ground up, it meant we could actually change parts of the gameplay, and so we did. On top of giving each enemy type distinctive attack patterns, we also decided to give the titular bubble fish an ability that was pretty on-theme: blowing bubbles of different sizes.

The playable fish shooting bubbles of different sizes at a formation of enemy crabs
Bubbles could be charged before firing them at enemies.
Larger bubbles dealt more damage, but moved more slowly.

Our artist quickly managed to take the miniature pixelated enemies and model them in 3D, with a fellow programmer learning enough Blender to make simple animations for each of them. Meanwhile, I had to deal with a huge bottleneck: the game was having awful framerate issues when deployed to Android devices due to the number of animated enemies that were on-screen at any given time. That was a part of the old Space Invaders experience that we definitely didn’t want to emulate!

Unity back then had a much smaller community than it does nowadays, so finding a solution to the problem was pretty hard. I finally did come across a way to animate a single skinned mesh renderer, bake its vertex data, and then have all on-screen enemies merely reference that data. With that, the game was back to being playable, yay!

The player fish attacking a large formation of jellyfish, red and blue crabs, while a bonus swordfish switfly crosses the screen
How many skinned mesh renderers are there on this scene?
Answer: only three! (fish, crab and swordfish, since jellyfish only had their scale animated)

Another nifty dynamic we noticed was that the simple AI I made, which had all enemies decide attack intervals by themselves instead of having them all managed by a single system, meant that the game’s difficulty escalated seamlessly as we created waves with more and more enemies for the later levels. This could result in danmaku-style patterns randomly showing up every now and then, but we felt it added enough difficulty without being overly punishing, so we ended up leaving it as-is.

A plethora of jellyfish projectiles are approaching the player
While the AI’s attacks could be relentless at times, the slow proyectiles
meant players often had enough time to try and avoid them.

Pushing the envelope

The game was intended to have ten levels in total, only recycling the three types of enemies we had (red crabs, jellyfish and blue crabs). However, that really didn’t feel like it was enough for us, and since we were pretty ahead of schedule, we went ahead and planned for something new and exciting: a final boss!

Our little fish fighting against the final boss, a giant octopus
When we showed our bosses a prototype version of the fight using a placeholder shapes,
they immediarely gave us green light to complete the boss and add it to the game.

The giant octopus was the single entity in the game with multiple attacks: It could swing its front tentacles, shoot projectiles at the player’s current position, and also had a spread attack that covered the center of the screen. Back then, we didn’t even have Unity’s current animator controller system, so the AI and its animations had to be managed from scripts alone, which was pretty confusing and resulted in a couple bugs popping up along the way. Still, we were really happy with the end result, as the giant octopus made for a fun and satisfying fight.

GUI hell

Finally, I’d like to address the elephant in the room: the game GUI. Back in Unity 3.5, there was no scalable UI or sprite renderers, so all UI elements had to be drawn on the viewport using pixel values.

Unity 3.5's old UI components, which were really hard to work with
Having fun yet?

This meant that adapting UI elements across multiple display resolutions had to be done by hand, and we simply weren’t up to the task back then.

The only phone our bosses had set as a target for the game was the Motorola Milestone, which had a much larger screen resolution (480×854) than any other Android phones we were using at the time. The results of making our GUI target such a high resolution when Unity didn’t have any tools for scaling UI elements were… well, simply catastrophic:

Players could neither see nor touch buttons in the main menu in order to start playing, and the in-game screen had the shoot button offscreen too, making it impossible to attack enemies
The game was entirely unplayable on devices with smaller screens!


Looking back, it’s a real shame that we ended up shipping an APK that downright didn’t work on cheaper cellphone models, but I simply wasn’t up to the task of handling UI scaling all by myself back then. These kinds of things really make me glad that we no longer have to deal with all those complications nowadays, mostly thanks to the community’s continued efforts to make up for Unity’s shortcomings.

Now, seven years after the game’s released, neither the APK nor the company that created it exist outside of archive or mirror sites anymore. Even in spite of it still being a Space Invaders clone, having lousy code and some questionable design choices, it was really neat to come across the source files after all these years, like a time capsule of sorts. It might not have ammounted to anything in the end, but the passion the three of us poured into the game is something I definitely will never forget.

This article has 137,689 comments

  1. Online Payday Loan Reply

    [url=http://psiloans.com/]no credit check loans[/url] [url=http://paydaytwo.com/]bad credit loans uk[/url] [url=http://astiloans.com/]credit loans guaranteed approval[/url] [url=http://loanslm.com/]where to get a loan with bad credit[/url] [url=http://usaalend.com/]cash payday[/url] [url=http://cashaddv.com/]online personal loans[/url] [url=http://paydayover.com/]personal loans scam[/url]

  2. Markdek Reply

    [url=https://viagracan.com/]prescription viagra 100mg[/url] [url=https://viagraopr.com/]generic viagra online mastercard[/url] [url=https://viagraneu.com/]how much is generic viagra[/url] [url=https://iplusmeds.com/]buy cheap silagra[/url] [url=https://ivermectinlab.com/]ivermectin buy uk[/url]

  3. hydra onion Reply

    гидра ссылка это web-сайт из интернет-сети тор, основанный для безымянного и безопасного серфинга в теневом вебе, в интернет-сети тор насчитается около одного миллиона веб-сайтов различной направленности как правило это интернет-магазины и форумы, встречаются и ресурсы с особенно сомнительной деятельностью, касаться их мы не будем (в случае, если они Вам интересны можете пользоваться особой поисковой системой DuckDuckGo, она по умолчанию встроена в TOR браузер), портал гидра онион доступен по актуальному зеркалу представленному на нашем сайте. Для того чтобы зайти на гидру в зоне онион Вам нужен будет тор браузер т.к. домены в зоне onion намеренно сделаны для секретной сети TOR, нажмите на кнопку “скопировать” (она находится перед этим) дальше скопируйте ссылку в строку адреса в тор браузере и переходите на web-сайт интернет-магазина гидра, после выполнения закупки не забывайте подчистить интернет-браузер, благополучных приобретений.

  4. Shane Chapman Reply

    I’ve been surfing online more than 3 hours today, yet I never found any interesting article like yours.
    It is pretty worth enough for me. Personally, if all webmasters and
    bloggers made good content as you did, the net will be a lot more useful
    than ever before.

  5. Pauldek Reply

    [url=https://cifpharm.com/]zestoretic 20[/url] [url=https://ivermectinlab.com/]price of ivermectin[/url] [url=https://sildenafilpoi.com/]female viagra pills online in india[/url] [url=https://eleventabs.com/]digoxin 0.125mg[/url] [url=https://znpharmacy.com/]online pharmacy dubai[/url]

  6. simig Reply

    I am truly grateful to the owner of this site who has shared
    this wonderful piece of writing at at this place.

  7. Dendek Reply

    [url=http://oprpharmacy.com/]medstore online pharmacy[/url] [url=http://inthealthsup.com/]zanaflex price in india[/url] [url=http://viagraimpt.com/]viagra pills 50 mg[/url] [url=http://cialispale.com/]order cialis from india[/url] [url=http://hydroxychloroquinev19.com/]plaquenil cost australia[/url]

  8. hydra Reply

    гидра это сайт из online-сети тор, сформированный для безымянного и защищенного путешествия в запрещенном онлайне, в интернет-сети тор найдется порядка одного миллиона веб-сайтов разной направленности как правило это интернет-магазины и форумы, встречаются и сайты с особенно сомнительной деятельностью, касаться их мы здесь мы не станем (в случае, если они Вам занятны сможете воспользоваться специальной поисковой машиной DuckDuckGo, она по умолчанию интегрирована в TOR браузер), сайт гидра онион в зоне доступности по работающему зеркалу выставленному на нашем веб-сайте. Чтобы зайти на гидру в зоне онион Вам нужен будет тор браузер т.к. домены в зоне onion специально созданы для анонимной сети TOR, нажмите на кнопку “скопировать” (она находится выше) затем скопируйте ссылку в строку адреса в тор браузере и перейдите на сайт online-магазина гидра, по окончании выполнения покупки не забывайте подчистить браузер, благополучных приобретений.

  9. hydra2web.com Reply

    Как говорилось, для выполнения работ с Гидрой нужно использовать интернет-браузер Тор. Но кроме того, необходимо зайти на необходимый ресурс, не угодив к жуликам, которых достаточно много. Поэтому, плюсом от нас, у вас окажется гидра.

  10. гидра сайт зеркало Reply

    Как войти на hydra? Таким вопросом озадачены все участники гидры, каждый день требуется разыскивать работающее зеркало гидры т.к. ежедневно рабочие зеркала банятся властью и входа к ресурсу не существует, использовать VPN сложно и недешево, тор на английском языке, что также далеко не всем подойдет. Преднамеренно для предельного облегчения данной задачи мы спроектировали наш сайт. Для открытия гидра официальный сайт Вам надо перейти по действующему работающему зеркалу показанному выше или скопировать гиперссылку для тор браузера которая также показана на страницах нашего сайта и раскрыть ее в тор браузере, после чего зарегистрироваться, пополнить счет и радоваться покупкам. Не забывайте при этом содействовать развитию портала обмениваетесь представленным интернет-ресурсом с приятелями и родственниками.

  11. Payday Express Reply

    [url=https://awaloans.com/]need a personal loan[/url] [url=https://paydayover.com/]payday loans instant approval[/url] [url=https://paydaylo.com/]loan service[/url] [url=https://sniloans.com/]bankruptcy loans[/url] [url=https://ettaloans.com/]car loan[/url] [url=https://jnlending.com/]next day payday loans[/url]

  12. hydra onion обход Reply

    Подавляющее большинство людей сегодня применяют online не только для извлечения информационных материалов, сколько для покупок всевозможных товаров, которые попросту заполнили его. Тут кроме того есть возможность отыскать не разрешенные к торговле и незаконные категории. Только не в рядовом поисковом сервисе по типу Яндекса, а в отдельной зоне, знаменитой как Даркнет. Одной из площадок этой сети и будет гидра ссылка, интернет-сайт какой мы и обсудим более подробно здесь. Потому, в случае, если вам тема покупки противозаконных изделий жизненна, тогда вам материал получится нужен.

  13. Online Lenders Reply

    [url=http://jnlending.com/]easy payday loans online[/url] [url=http://conloans.com/]payday wiki[/url] [url=http://astiloans.com/]what is a cash advance[/url] [url=http://paydaytwo.com/]how does debt consolidation work[/url] [url=http://sniloans.com/]installment loans guaranteed[/url] [url=http://cashaddv.com/]american payday loan[/url] [url=http://zailoans.com/]what is debt relief[/url]

  14. balenciaga triple s Reply

    I抎 should check with you here. Which isn’t something I usually do! I enjoy studying a put up that will make folks think. Additionally, thanks for allowing me to comment!

Leave a Comment

Your email address will not be published. Required fields are marked *