Wednesday, April 28, 2010

Support VibraSeq patterns in your app!

I've just released a nice step sequencer app for your phone vibrator. It is a lot of fun to play with it and it can also export the "pattern" as a short string. (see the export menu in the app)



Install VibraSeq now:

qrcode

If you want to support VibraSeq patterns in your own call manager / SMS manager app (like ChompSMS, etc...), you only have to let the user to paste VibraSeq patterns into a text box somewhere in your app (around the place where you're letting the user to choose from simple vibrator patterns already).

You can parse and play the VibraSeq patterns very easily. See this example code and build in support now ;)



   //plays the given VibraSeq pattern looped forever
   private void playVibraSeqPattern(String vibraSeqPattern) {
       //parse the VibrsSeq pattern into a long array
       long[] pattern = parseVibraSeqPattern(vibraSeqPattern);
       //get the vibrator instance
       Vibrator vibrator =
            (Vibrator)getSystemService(VIBRATOR_SERVICE);
       //play the pattern in a loop forever
       vibrator.vibrate(pattern, 0);
   }

   //returns the Vibrator.vibrate() compatible long array
   private long[] parseVibraSeqPattern(String vibraSeqPattern)
   {
       try {
           String[] strarr = vibraSeqPattern.split(",");
           int cnt = strarr.length;
           long[] result = new long[cnt];
           for (int a=0;a<cnt;a++) {
               result[a] = Long.parseLong(strarr[a], 16);
           }
           return result;
       } catch (NumberFormatException e) {
           return null;
       }
   }

Friday, January 29, 2010

Ball Madness Review at Android App Review Source

I've just seen a Tweet about a Ball Madness review at Android App Review Source.
They liked the game ;) They filed it in the "Thumbs Up" category!

Click for the review:
Ball Madness Android App Review

A-Droid

Tuesday, January 26, 2010

Ball Madness v1.2

Ball Madness v1.2 has been released to the Android Market.

New in v1.2:
> Now with 30 levels! (+10 new levels)

Please install it from here:

Monday, January 11, 2010

Ball Madness v1.1

I've just released a Ball Madness update (v1.1) to the Android Market:

New in this version (1.1):
+ Saves/loads your level progress
+ Support for 1.5 (Cupcake)
+ Mute/de-mute option
+ minor improvements

Wednesday, January 6, 2010

Ball Madness

Ball Madness is an addictive ball game that uniquely combines game genres brain/puzzle and arcade/action.
Original concept: Crillion by Oliver Kirwa (C64, 1988)

It is one of my few all-time-favorite games, so I decided to make a version for Android. I hope you'll enjoy playing it! ;)

This is an AdMob supported/free game with 20 levels. There is no paid version.
Internet Access and Position Access is only required/used by AdMob, not the game itself.







Instructions:

* Destroy all the flat blocks to complete a level
* The ball destroys blocks with the same color as the ball
* Blocks with a star icon will change the ball’s color
* Blocks with a butterfly icon can be moved (same color as the ball)
* Avoid skulls

Controls:

* LEFT: Key "Q" or Tap the left side of the screen
* RIGHT: Key "W" or Tap the right side of the screen
* Restart Level (when you’re stuck): MENU/Restart Level

Compatibility:

The game should run on all Android phones from 1.6 and above.
It was tested on my T-Mobile G1/Dream (1.6 Donut) and on emulators with various screen sizes/roms. So, it should also run on the Motorola Droid/Milestone and the Google Nexus One for example. Small-screen devices are also supported.

Any feedback is welcome!