15 Flares 15 Flares ×
Editor’s note: Sharry Stowell is the editor of Learning Titanium, where he frequently comments on the latest contributions of the Titanium community.

Mobile gaming

The mobile gaming industry is huge. Did you know that in 2011, 70-80% of all mobile downloads were games? That Angry Birds has been downloaded 140 million times? Or that it’s estimated that by 2015, mobile gaming is going to hit $54,000,000,000 (yep, that’s $54 billion!)1? Do you want a little slice of that cake? Help is on the way to Titanium developers, thanks to people like Kota Iguchi who developed QuickTiGame2d. This tool allows developers to create 2D games on Titanium quickly, using tools like TexturePacker, Tiled Map Editor and Particle Designer. I interviewed Kota last month on LearningTitanium, he is the developer of emo-framework (a lightweight 2D game framework for Android and iOS driven by Squirrel, an object-oriented scripting language for game logic).

QuickTiGame2d

After being impressed with the Ti.Box2D module, Kota decided after search for existing Titanium gaming engines and the performance of of OpenGL on Titanium to use his knowledge of games programming to create ‘QuickTiGame2d‘. Being a port of Ti.Box2D you can use QuickTiGame2d’s Box2d with almost same manner as Ti.Box2D2!  Kota has developed multiple open source projects, the 1st was QuickTiBall which was based on the TIBall.  This allows elements like gravity, velocity, static/dynamic sprites/scores/collision detection to name just a few.

Fake Rolex Watches

QuickTiGame2d provides very simple gaming API. Please see below for example:

QuickTiShooter

Another great project Kota built was QuickTiShooter, a shooting game written in about 250 lines of javascript.  When you touch the screen, your ship will move in that direction and bullets are fired automatically.  The source for this is available to download from here.  Check out the video of QuickTiShooter – there is even the option to turn to 3d mode in the 2nd video!

QuickTiGame2dExample

QuickTiGame2dExample in my personal opinion is the best usage of Titanium gaming yet!  Using a tile map built with the help of  MapEditor, Kota has used the Tile Map in the background as a kind on RPG game, where the screen followers the character around. tiledmapeditor Here is a video of the game in action: Whilst speaking to Kota over a number of hours you can really tell a persons passion, especially when he only started javascript a few months ago! Why not give game development a try! #UPDATE: Kota is already on his next update which will include a ‘isometric tiled map‘ (like FarmVille/CityVille by Zynga) and sounds effects on events/collisions:

Other helpful resources:

  • Blog
  • Particle Designer article [JP]
  • Other Japanese developers: Yuichiro MASUI @masuidrive, Kazuaki Konno @kaz_konno, Hata Keisuke @seasons, Hiroshi Oyamada @h5y1m141, Takako Kansai @kansai_takako
Sources [1 2
15 Flares Twitter 0 Facebook 3 Google+ 12 LinkedIn 0 Email -- 15 Flares ×