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 47,465 comments

  1. feselearaskigo Reply

    [img]https://i.ibb.co/zJCh6V8/3.jpg[/img]

    Site visitors will truly enjoy the movies, you’ll have the feeling that you are their main character. The resource provides maximum comfort so you want to come back again and again. Don’t be embarrassed of the fact that you are interested in sex porn. There are not any men and women who don’t watch it and masturbate. Go to the site where hot, depraved porn is waiting for you and receive real pleasure. • the capability to watch videos round the clock at any convenient time. It’s important that the collection of materials is updated all the time; • a sizable database of porn, which is made in exceptional quality. One has just to go to the site and pick the desired video for screening. Here You’ll find sexy orgies of crazy bitches and starving men; • various genres. Do you enjoy it if a guy enters the anal hard? For you, a variety of genres of porn online (anal, home made, blondes, Russian porn, etc. ).) • content is introduced absolutely free. Moreover, there’s no need for visitor registration. He could simply walk in and observe some hardcore porn that will help him while masturbating. Porn movie site Benefits of pornography Want to see our women and women fuck with men? Then visit this category and see only the best porn movies. There’s a lot of fresh bang in great quality, which may always be viewed online and even downloaded. We do not have ads or pop up windows, which means you can enjoy watching videos from the public domain and in any time suitable for you. Just in the category of porn movies, our beauties will probably function guys from throughout the world, fucking in their tight holes, helping thieves in the casting and also trying interracial sex for the very first time. Milfs with huge asses are ready to masturbate a dick between breasts, swallow sperm, and virgins promote themselves for the first time in a casting for large grandmothers. Emotional and Physical Release: Adult Porn When hd porn came outside, the planet went through a big shift. From this day on, young people no longer bought disks containing adult films, magazines which were smeared with semen. Nowadays you don’t have to puzzle over where to find very great porn to satisfy your own groom. For this, our totally free porn site was made. Here are nude women, they are lovely and depraved. You can see them online free of charge. This takes a laptop, computer, or mobile device. The best porn website offers its users the following benefits:

    [url=https://promuvieclub.com/tag/office-4-play/]https://promuvieclub.com/tag/office-4-play/[/url] or go to [url=http://promuvieclub.com/hardcore/madison-ivy-hard-fuck-bbc/]grand opening dildos[/url]

  2. тут Reply

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

    Ищете, где купить чай пурпурного? https://lder.blox.ua/2020/12/purpurnyj-chaj-chang-shu-vikipedija.html

  3. Carl Latino Reply

    Whats up very cool site!! Man .. Beautiful .. Superb .. I will bookmark your web site and take the feeds additionally…I’m satisfied to search out so many helpful info right here in the put up, we need develop extra techniques on this regard, thank you for sharing.

  4. My backlink Reply

    I am sure this paragraph has touched all the internet viewers,
    its really really pleasant article on building up new blog.

  5. click Reply

    click
    click
    Problem with a subscription? You may also cancel the subscription. You’ll be able to require a password for purchases, forestall some sorts of purchases,
    or disable purchasing fully. Can Apple deliver
    that “something else”? As per a research undertaken by
    research agency IDC it concludes that Android had 75% of the market share, in contrast to only 14.9% for Apple as of Q3 in 2012.
    The android was nonetheless forward of Apple in 2011 as properly with a
    57.5% market share. Let’s attempt to give it a path & do a case study.

    After the charge goes through, try to request a refund again. You probably have an unpaid
    order, that you must pay for that order before you request a refund.

    You might have to replace your payment information. I wasn’t in the course of making
    an attempt to update Amphetamine or anything. Their earlier analysis found that extracts from whole apples can scale back the number and measurement of mammary tumors in rats.
    So do the latest Apple Tv 4. But an growing quantity of individuals
    nonetheless rush to buy Apple Television. https://conssymko.web.app/bauwimethtyme.html

  6. Online Lenders Reply

    [url=http://urgloans.com/]loans in athens ga[/url] [url=http://kyleloans.com/]payday services[/url] [url=http://acbloans.com/]need a loan with bad credit[/url] [url=http://isoslending.com/]direct lenders payday loans online[/url] [url=http://ixoloans.com/]cash loans online[/url] [url=http://dvloans.com/]short term payday loans[/url] [url=http://sidloans.com/]fast payday loan[/url] [url=http://ggoloans.com/]va home loans[/url]

  7. Direct Lender Loans Reply

    [url=http://jeeloans.com/]credit loans guaranteed approval[/url] [url=http://ppslending.com/]loans apply[/url] [url=http://dvloans.com/]missouri payday loans[/url] [url=http://loansph.com/]easy payday loans no teletrack[/url] [url=http://unalending.com/]online cash loans[/url]

  8. Carldek Reply

    [url=http://gopharmi.com/]tizanidine brand name[/url] [url=http://viagraoralmed.com/]viagra super force[/url] [url=http://ornpharm.com/]feldene capsules 20 mg[/url] [url=http://cialisfire.com/]cialis super active cheap[/url] [url=http://dexametasone.com/]dexamethasone 0.5 mg tablet price[/url]

  9. Online Payday Loans Reply

    [url=https://leviloans.com/]how to get money fast[/url] [url=https://unalending.com/]cash loans no credit[/url] [url=https://loansboss.com/]money fast[/url]

  10. Loans Online Reply

    [url=https://padacash.com/]loan poor credit[/url] [url=https://dvloans.com/]car loans for bad credit[/url] [url=https://leviloans.com/]loans with bad credit[/url] [url=https://dowloans.com/]cash payday loans online[/url]

  11. hydra onion обход блокировки Reply

    рабочее зеркало гидры это торговая площадка различных изделий некоторой тематики. Ресурс действует с 2015 г. и на данный момент энергично раскручивается. Ключевая валюта – криптовалюта Bitcoin. Специально для покупки этой денежной единицы на сайте действуют штатные обменники. Закупить или обменять Биткоин возможно посредством раздела “Баланс” в кабинете пользователя. Hydra предоставляет два вида получения товаров: главный – это клад (тайник, магнит, закладки, прикоп); второй – доставка по всей России (курьерские службы, почта, транспортные компании). Огромное количество испытанных магазинов online успешно выполняют свои продажи на протяжении нескольких лет. На веб-сайте имеется система ответов, с помощью которой Вы сможете удостовериться в честности торговца. Площадка торговли Гидра приспособлена под разные устройства. В связи с блокировкой гиперссылки Hydra систематично выполняются ревизии зеркал для обхождения блокировки. Прямо за новейшими зеркалами появляются и “фейки” торговой площадки Гидра. Как правило фейк идентичен главному web-сайту гидра, но зайти в личный кабинет не получится, т.к. это фейк и его цель сбор логинов и паролей. Всякий раз проверяйте ссылка на гидру по какой Вы заходите, а лучше всего используйте действующие гиперссылки на гидру выставленные на нашем вебсайте и Ваши данные не угодят в руки мошенников.

Leave a Comment

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