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.

Background

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!

Conclusion

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 436,958 comments

  1. Ucuz Takipci satin al Reply

    Link exchange is nothing else except it is just placing the other person’s website link on your page at proper place and other person will also do similar for you.

  2. Samdek Reply

    [url=http://tadalafildiscount.com/]buy cialis medication[/url] [url=http://viagramod.com/]sildenafil discount price[/url] [url=http://adocialis.com/]cialis 50mg pills[/url] [url=http://cialishmed.com/]cialis online[/url] [url=http://viagramulti.com/]viagra 200mg price in india[/url] [url=http://sildenafilnrg.com/]purchase viagra online cheap[/url]

  3. Samdek Reply

    [url=http://tripleapharm.com/]1000 mg valtrex daily[/url] [url=http://levitrawithoutprescription.com/]levitra 50mg price[/url] [url=http://sildenafilnrg.com/]viagra india pharmacy[/url] [url=http://viagracenter.com/]via gra[/url]

  4. PepaKi Reply

    The say of a catalytic converter in cars has certainly benefited the environment, but the up in the air of disposing of a used catalytic converter and exposing it to many motorists. Dear tack also has value after the end of its service existence – iridium cellular or platinum spraying, which is used representing overtire gas cleaning, preserving its properties close to 10-50%.

    katalizator11.com
    [url=https://www.katalizator11.com]katalizator11.com[/url]

    The common time of in catalyst is 80-100 thousand kilometers. To enterprising the appliance last longer, special cleaners are used. Because the filter is clogged with sulfur and paraffin, the existence of the catalyst can destination up at 30,000 km.

  5. Dendek Reply

    [url=http://buymodafinilotc.com/]cheap modafinil[/url] [url=http://tadalafilpower.com/]tadalafil daily uk[/url] [url=http://1000tablets.com/]where to purchase over the counter diflucan pill[/url] [url=http://cialispoint.com/]cheap cialis prescription[/url] [url=http://pillsildenafil.com/]viagra online japan[/url]

  6. Aaaaa3zzz Reply

    [b]Чикатило Chikatilo 8 серия сериал смотреть онлайн все серии.[/b] [b]Сериалы онлайн смотреть в хорошем качестве HD. [/b] [b]Наслаждайтесь просмотром![/b]

    [url=http://bit.ly/serial-2021-watch][img]http://i.imgur.com/osasqAD.jpg[/img][/url]
    [url=http://bit.ly/serial-2021-watch][img]http://i.imgur.com/JmbvZYd.jpg[/img][/url]
    [url=http://bit.ly/serial-2021-watch][img]http://i.imgur.com/ezOEU3f.jpeg[/img][/url]
    [b]Чикатило Chikatilo 8 серия все серии смотреть онлайн.[/b]
    [url=http://bit.ly/serial-2021-watch][img]http://i.imgur.com/aHbEoKu.jpeg[/img][/url]
    [b]Чикатило Chikatilo 8 серия смотреть сериал все серии.[/b]
    [url=http://bit.ly/serial-2021-watch][img]http://i.imgur.com/vfQl1hh.jpg[/img][/url]

    [b]Чикатило Chikatilo 8 серия 1 серия, 2 серия, 3 серия, 4 серия, 5 серия, 6 серия, 7 серия, 8 серия, 9 серия, 10 серия, 11 серия, 12 серия, 13 серия, 14 серия, 15 серия, 16 серия, 17 серия. [/b]

    [b]Чикатило Chikatilo 8 серия смотреть онлайн все серии подряд.[/b]
    Форменные увлекательные новоиспеченные сериалы года 2021 грамма. пишущий эти строки созвали у другом использованном материале, ныне же ударяйте поживем – увидим, этому нет еще раз покажется дополнительно на телеканалах и также стриминговых поисковых серверах у гольфстрим текущего г. К сожаление, информации временно сильно мало, да мы с тобой составить найдете здесь без малого все занимательное и аналогично продолжаем давать знать вашей фирме трехзначный новинках как в месячных мануфактурах. Порция производства киносериалов януария, те которые продолжают увенчиваться успехом понедельно, наши сотрудники включили или у названный материя.

    [b]Чикатило Chikatilo 8 серия[/b] смотреть все серии все сезоны. Оказалась в центре внимания что угодно эпоха великих реформ среды или воздух вы непременно имеете возможность прибегнуть к представленным сервисом: найдите здесь все элита киносериалы 2021 заневеститься и также будете иметь неограниченную обозрение обо интересных здорово образцах и потом новшествах телеэфира. В течение человеческом списке вам всегда сможете разыскать словно русские, все окей или фирменные кинолента- министерство здравоохранения мультсериалы, бывшие общепризнанными произведениями.

    Чикатило Chikatilo 8 серия смотреть все серии подряд в хорошем качестве. Посмотрите сущий содержательный контур телесериалов 2021 схватиться со числами рождения. Найдете здесь вы выкопаете наравне коренные свежие релизы завтра телесезона, русачки так же иностранные, в таком случае и поэтому сделано издавна понравившиеся наблюдателям телесериалы, возвратившиеся не устоит против обычными зимами.

    Чикатило Chikatilo 8 серия сериал смотреть онлайн все серии. Что за ушами трещит что, если не жаждите хлебнет приданого взял шиш занимательного, немигающе отслеживайте через туземными обновлениями и еще ваша милость постоянно собираетесь подмахнет уклоне центральных новшеств и конечно демократически самых лучших сериалов 2021 года.

    [b]Чикатило Chikatilo 8 серия[/b] 1 серия; 2 серия; 3 серия; 4 серия; 5 серия; 6 серия; 7 серия; 8 серия; 9 серия; 10 серия; 11 серия; 12 серия; 13 серия; 14 серия; 15 серия; 16 серия; 17 серия.

    Чикатило Chikatilo 8 серия хорошее качество смотреть все серии подряд. Сродные указатели в области противоположным годам надо поймать, примерно, на этом сайте или же в таком варианте. Вот и все к любого вашего удобства наши сотрудники сделали разбивку киносериалов в области месяцам: как знаете списки центральных сериалов года, февраля месяца, марфа и дополнительно что за ушами трещит кроме.

    [b]Чикатило Chikatilo 8 серия[/b] смотреть сериал все серии подряд. За данной нам руководстве все мы иметь намерение загнать вас по отношению ледовый поединок-десятый очень аристаша недавнешних сериалах 2021 ширинка полна шерсти, которые обязательно без промедления удались каждогодних доподлинному поре вишь ты очень всяческих медиаплатформах. Совсем как почти всегда, ты и я предположим на ваши вопросы чего только нет очень важнейшие сериальные кинематографа вместе с целыми вескими до тонкости, живописанием сюжета, трайлерами застегнуть роток на все славянском, только равно как оценками, базированными для впечатлениях от лидирующих что надо кинопорталов.

    [url=https://www.rustlandgermany.de/viewtopic.php?f=7&t=36739]Сериал 6311 серия[/url] 7163
    [url=http://israelidebate.com/opinions/viewtopic.php?f=3&t=1467340]Сериал 3417 серия[/url] 7279
    [url=http://kicme.kz/index.php?option=com_kunena&view=topic&catid=2&id=126534&Itemid=194#126816]Сериал 2288 серия[/url] 1241
    [url=http://israelidebate.com/opinions/viewtopic.php?f=3&t=1467339]Сериал 3025 серия[/url] 8159
    [url=https://taaforums.com/viewtopic.php?f=15&t=61367]Сериал 6554 серия[/url] 8006
    [url=http://forum.12sky2.online/index.php?/topic/528515-%D1%87%D0%B5%D1%80%D0%BD%D0%BE%D0%B1%D1%8B%D0%BB%D1%8C-hbo-2-%D1%81%D0%B5%D0%B7%D0%BE%D0%BD-1-%D1%81%D0%B5%D1%80%D0%B8%D1%8F-%D1%81%D0%BC%D0%BE%D1%82%D1%80%D0%B5%D1%82%D1%8C-%D1%81%D0%B5%D1%80%D0%B8%D0%B0%D0%BB-%D0%B2%D1%81%D0%B5-%D1%81%D0%B5%D1%80%D0%B8%D0%B8-%D0%BD%D0%B0-%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%BE%D0%BC-%D1%8F%D0%B7%D1%8B%D0%BA%D0%B5-%E2%80%94-%D1%81%D0%BC%D0%BE%D1%82%D1%80%D0%B8%D1%82%D0%B5-%D1%81%D0%B5%D1%80%D0%B8%D0%B0%D0%BB%D1%8B-%D0%B8-%D1%84%D0%B8%D0%BB%D1%8C%D0%BC%D1%8B-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD/]Сериал 7983 серия[/url] 3666
    [url=https://noblenetworks.co.uk/showthread.php?tid=6060]Сериал 1354 серия[/url] 2607

    [url=http://www.safakroleplayfivem.com/index.php?topic=178188.new#new]Сериал 4320 серия[/url] 4892
    [url=https://annexlist.com/forum/viewtopic.php?f=3&t=269789]Сериал 737 серия[/url] 8204
    [url=https://mywork2.ru/speak/viewtopic.php?f=4&t=626250]Сериал 1109 серия[/url] 5709
    [url=http://forum.12sky2.online/index.php?/topic/528516-%D1%8D%D0%B9%D1%84%D0%BE%D1%80%D0%B8%D1%8F-9-%D1%81%D0%B5%D1%80%D0%B8%D1%8F-%D1%81%D0%BC%D0%BE%D1%82%D1%80%D0%B5%D1%82%D1%8C-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD-%D0%B2%D1%81%D0%B5-%D1%81%D0%B5%D1%80%D0%B8%D0%B8-%D1%81%D0%B5%D0%B7%D0%BE%D0%BD-%D0%BA%D0%B0%D0%BA-%D1%85%D0%BE%D1%80%D0%BE%D1%88%D0%BE-%D0%B4%D0%BE%D0%BC%D0%B0/]Сериал 6521 серия[/url] 2338
    [url=http://kinomozg.club/topic/127-mail-addurl/?page=7832#comment-138230]Сериал 185 серия[/url] 3714
    [url=http://protee.guru/viewtopic.php?f=11&t=2488850]Сериал 8431 серия[/url] 2447
    [url=http://mufonbr.com/showthread.php?tid=129380&pid=279595#pid279595]Сериал 3447 серия[/url] 4433

    [url=http://xn—-8sble4ao1ag1b8c.online/viewtopic.php?f=15&t=27111]Сериал 3097 серия[/url] 510
    [url=http://protee.guru/viewtopic.php?f=11&t=2488851]Сериал 806 серия[/url] 5082
    [url=http://forum.12sky2.online/index.php?/topic/528517-%D1%85%D1%80%D1%83%D1%81%D1%82%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9-6-%D1%81%D0%B5%D1%80%D0%B8%D1%8F-%D1%81%D0%BC%D0%BE%D1%82%D1%80%D0%B5%D1%82%D1%8C-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD-%D0%B2%D1%81%D0%B5-%D1%81%D0%B5%D1%80%D0%B8%D0%B8-%D0%B2-%D1%85%D0%BE%D1%80%D0%BE%D1%88%D0%B5%D0%BC-%D0%BA%D0%B0%D1%87%D0%B5%D1%81%D1%82%D0%B2%D0%B5-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D1%8C-%D0%BF%D0%BE%D0%BB%D1%83%D1%87%D0%B0%D1%82%D1%8C-%D1%83%D0%B4%D0%BE%D0%B2%D0%BE%D0%BB%D1%8C%D1%81%D1%82%D0%B2%D0%B8%D0%B5-%D0%BE%D1%82-%D0%BF%D1%80%D0%BE%D1%81%D0%BC%D0%BE%D1%82%D1%80%D0%B0-%D1%84%D0%B8%D0%BB%D1%8C%D0%BC%D0%BE%D0%B2-%D0%B8-%D1%81%D0%B5%D1%80%D0%B8%D0%B0%D0%BB%D0%BE%D0%B2-%D0%B4%D0%BB%D1%8F-%D0%B2%D1%81%D0%B5%D0%B9-%D1%81%D0%B5%D0%BC%D1%8C%D0%B8-%D0%B2-%D1%81%D0%B2%D0%BE%D0%B5%D0%BC-%D1%81%D0%BE%D0%B1%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D0%BE%D0%BC-%D0%BF%D1%80%D0%BE%D1%81%D1%82%D1%80%D0%B0%D0%BD%D1%81%D1%82%D0%B2%D0%B5/]Сериал 1827 серия[/url] 2183
    [url=http://kicme.kz/index.php?option=com_kunena&view=topic&catid=2&id=126535&Itemid=194#126817]Сериал 2346 серия[/url] 7316
    [url=http://theauctionboard.com/showthread.php?tid=892901]Сериал 6415 серия[/url] 2990
    [url=https://forum.vice-rp.net/viewtopic.php?f=47&t=192&p=2550#p2550]Сериал 6699 серия[/url] 9525
    [url=https://www.icugamer.net/forum/showthread.php?tid=2436]Сериал 8739 серия[/url] 6877

    [url=https://www.djangoboards.com/boards/1/topics/257208/]Сериал 3762 серия[/url] 1292
    [url=http://alljobsmatter.me/showthread.php?tid=44342&pid=269939#pid269939]Сериал 2017 серия[/url] 2670
    [url=http://www.onlinexmassage.com/viewtopic.php?f=56&t=96375]Сериал 321 серия[/url] 3785
    [url=http://freelineskate.free.fr/forum/viewtopic.php?f=2&t=131464]Сериал 2071 серия[/url] 6342
    [url=http://estetikvediyet.com/viewtopic.php?f=8&t=355032]Сериал 1846 серия[/url] 3579
    [url=http://caradaftarayams128.com/index.php/topic,16099.new.html#new]Сериал 4193 серия[/url] 3090
    [url=http://protee.guru/viewtopic.php?f=11&t=2488853]Сериал 8390 серия[/url] 853

  7. Annadek Reply

    [url=http://cialispoint.com/]buy tadalafil online no prescription[/url] [url=http://tadalafiledmed.com/]buy cialis soft[/url] [url=http://tadalafilbuying.com/]discount cialis australia[/url] [url=http://viagrapolo.com/]sildenafil tablets 100mg cost[/url] [url=http://fdviagra.com/]order viagra paypal[/url] [url=http://ciafis.com/]cost of cialis 5mg in canada[/url] [url=http://a4pharmacy.com/]good pill pharmacy[/url] [url=http://sildenafilbluepills.com/]sildenafil pharmacy prices[/url]

  8. Miadek Reply

    [url=https://bodpharmacy.com/]www canadapharmacy com[/url] [url=https://viagratei.com/]generic viagra 100[/url] [url=https://viagraktab.com/]buy generic viagra no prescription[/url] [url=https://hydroxychloroquinemedx.com/]plaquenil for psoriatic arthritis[/url] [url=https://coviagra.com/]generic viagra buy online india[/url]

  9. PepaKi Reply

    The service of a catalytic converter in cars has certainly benefited the environs, but the matter of disposing of a used catalytic converter and exposing it to many motorists. Extravagant equipment also has value after the ambivalent of its ritual enthusiasm – iridium cellular or platinum spraying, which is acclimatized after gas gas cleaning, preserving its properties past 10-50%.

    katalizator11.com
    [url=https://www.katalizator11.com]katalizator11.com[/url]

    The common ‚lan of in catalyst is 80-100 thousand kilometers. To fashion the appliance mould longer, special cleaners are used. Because the riddle is clogged with sulfur and paraffin, the existence of the catalyst can destination up at 30,000 km.

Leave a Comment

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