HOME BLOG

New Release: Incredible Brick Breaker 3.0.0 for iOS

Posted on: April 16th, 2019 by Olu No Comments

Hi folks,

We’re pleased to announce a new release for Incredible Brick Breaker. This is Incredible Brick Breaker 3.0.0 for iOS.

Just like the Android version, Incredible Brick Breaker 3.0.0 brings a number of new features to the game, including fireball goodie, self-shooting gun, inventory, Gold coins and a Gold shop. See our Android announcement at http://blog.yinkos.com/2019/04/new-release-for-incredible-brick-breaker-android-3-0-0/.

As always, we like to know what you think about the game. Feel free to contact us. And if you haven’t yet installed the game, get it from App Store or Google Play.

New Release for Incredible Brick Breaker – Android 3.0.0

Posted on: April 11th, 2019 by Olu No Comments

Hi folks,

We’re pleased to announce a new release for Incredible Brick Breaker. This is Incredible Brick Breaker 3.0.0 for Android.

Incredible Brick Breaker 3.0.0 brings a number of new features to the game.

There is now a new fireball goodie which changes your ball into a fireball for a few seconds, destroying bricks without deflection.

The ammo goodie has been redesigned as well.

The shooting mechanics has been updated to make the game more fast-paced. Now, once a player collects an ammo goodie, a gun appears automatically over the paddle and shoots for a few seconds. This means the shoot button is no longer required and has therefore been removed.

There are also now Gold coins in the game. Gold coins are the game currency and can be picked up by breaking bricks. You can use gold coins to buy goodies like fireball and ammo.

In the main menu, there is a button to display number of gold coins the user has and allow access to the Gold shop.

There is also now a user inventory feature which you can use to store some goodies you purchase.

To access the inventory, take your hand off the screen during game play. The game slows down and the inventory overlay appears over the screen.

The inventory comprises your goodies (fireball and ammo) and the quantity of each you have.

The Gold Shop has been added, which allows you to buy Gold coins in various quantites.

Music within game has been removed as there are now more sound effects.

As always, we like to know what you think about the game. Feel free to contact us. And if you haven’t yet installed the game, get it from App Store or Google Play.

Generic Programming

Posted on: March 16th, 2019 by Olu No Comments

Hi folks,

Today I will like to talk a little bit about a programming pattern I really like. It’s called generic programming.

According to Wikipedia, generic programming is a style of computer programming in which algorithms are written in terms of types to-be-specified later that are then instantiated when needed for specific type provided as parameters.

It is useful if you have certain patterns you want to enforce in a class and you want the class to be reusable for arbitrary types of items.

E.g. a grid class that takes a kind of item and can add new item, remove items, etc.

The items it works with all have to be of a certain type.

You can make the class like

class Grid<T> {
    public addItem(item: T) {
        // ...
    }

    public removeItem(item: T) {
        // ...
    }

    public getItems(): T[] {
        // ...
    }
    
}

Note that once you define the generic variable T in the class declaration, you can then later define method input parameters and return types in terms of the generic parameter.

You can then reuse this class for all sorts of items, e.g. books, actors, etc. as follows

const productsGrid = new Grid();
const actorsGrid = new Grid();

This way, when you want to perform actions on your object, the type of input parameters and output can automatically be determined for error checking by your IDE, etc.

So, if you want to write nice reusable classes, a way to consider is generics.

That’s it for now.

How to fix error java.lang.OutOfMemoryError: Java heap space in Android Studio

Posted on: October 23rd, 2018 by Olu No Comments

Hi folks,

Here’s a quick tip on how to fix error java.lang.OutOfMemoryError: Java heap space when working with Android Studio.

Open gradle.properties,
find org.gradle.jvmargs
set -Xmx property to something bigger, e.g.
if you had -Xmx1500m, you can change it to -Xmx3000m

This way JVM uses max heap size of 3000MB
That’s all for now.
Happy coding.

New Release for Incredible Brick Breaker – Android 2.2.0, iOS 1.1.0

Posted on: August 7th, 2018 by Olu No Comments

Hi folks,

We’re pleased to announce a new update for Incredible Brick Breaker. This is Incredible Brick Breaker 2.2.0 for Android and 1.1.0 for iOS.

In this release, you can control the paddle by moving your finger anywhere on the screen. This is a feature that has been requested by some users to make the game easier to play.

As always, we like to know what you think about the game. Feel free to contact us. And if you haven’t yet installed the game, get it from App Store or Google Play.

Incredible Brick Breaker 1.0 is Launched for iOS!

Posted on: July 9th, 2018 by Olu No Comments

Hi folks,

We’re very excited to announce that Incredible Brick Breaker 1.0 has been released for iOS. For the first time, you can now play the game on your iPhone, iPad, and iPod touch. The game play provides is essentially the same as the Android version. There are 30 levels of brick breaking fun to enjoy and a leaderboard to record your high scores and help you compare your high scores with your friends.

As always, we like to know what you think about the game. Feel free to contact us. And if you haven’t yet installed the game, get it from App Store or Google Play.

Incredible Brick Breaker 2.1.0 is Launched for Android!

Posted on: July 9th, 2018 by Olu No Comments

We’ll like to announce that Incredible Brick Breaker 2.1.0 has been released for Android. This is a major update. It features improved ball control to allow you finish levels faster and in a more fun way. It also features a leaderboard to record your high scores and help you compare your high scores with your friends.

As always, we like to know what you think about the game. Feel free to contact us. And if you haven’t yet installed the game, get it from Google Play.

How to fix NullPointerException RoboVmRunProfileState.startProcess error of RoboVM iOS not starting

Posted on: June 10th, 2018 by Olu No Comments

Hi folks,

Here I describe quickly how to fix a problem of RoboVM iOS not running on Android Studio. The error in question is one of the form:

Couldn't start application
java.lang.NullPointerException
 at org.robovm.idea.running.RoboVmRunProfileState.executeRun(RoboVmRunProfileState.java:57)
 at org.robovm.idea.running.RoboVmRunProfileState.startProcess(RoboVmRunProfileState.java:126)
...

 

According to a RoboVM issue page, the problem seems to be due to some FacetManager component markup present in ios.iml. The markup looks like:

 

<component name="FacetManager">
    <facet type="android-gradle" name="Android-Gradle">
      <configuration>
        <option name="GRADLE_PROJECT_PATH" value=":ios" />
      </configuration>
    </facet>
    <facet type="java-gradle" name="Java-Gradle">
      <configuration>
        <option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" />
        <option name="BUILDABLE" value="true" />
      </configuration>
    </facet>
  </component>

 

Removing the markup solves the problem.

Till next time.

How to Access USB Stick from Terminal on Ubuntu

Posted on: April 14th, 2018 by Olu No Comments

In this article I go over how to access a USB stick from the terminal on Ubuntu.

 

1. Find what the drive is called
You’ll need to know what the drive is called to mount it. To do that run one of the following commands:

lsblk
sudo blkid
sudo fdisk -l

 

You’re looking for a partition that should look something like: /dev/sdb1. Find it and remember what it’s called.

 

2. Create a mount point (optional)
This needs to be mounted into the filesystem somewhere. You can usually use /mnt/ if you’re being lazy and it isn’t already used, otherwise create a new directory using a command like:

sudo  mkdir /media/usb

 

3. Mount device

sudo mount /dev/sdb1 /media/usb

 

4. Unmount device
When you’re done using the device, run the following command:

sudo umount /media/usb

 

References

1. command line – How to access a usb flash drive from the terminal? – Ask Ubuntu. https://askubuntu.com/questions/37767/how-to-access-a-usb-flash-drive-from-the-terminal

How to run a script on start up on Ubuntu

Posted on: April 1st, 2018 by Olu No Comments

Hi folks,

In this short article,  I will briefly describe how to set a script to run on reboot.

An easy way to do this is to edit /etc/rc.local, add a line to execute your script, the save and close the file.

Now you can test it works by restarting your computer and verifying it works.

That’s all for now. Till next time.