Latest Posts

Showing 11 to 15 of 15 posts.

Simple pathfinding algorithm in ActionScript 3

August 6th, 2011    by sigman    9709
  Tutorials   actionscript, programming

I was asked to quickly build an algorithm to find the shortest path for a labirinth game. First thing I did was check for some quick ideas on Wikipedia and found this article: http://en.wikipedia.org/wiki/Pathfinding. As there was only a text description I quickly wrote a simple ActionScript 3 class returning coordinates that create the shortest path.

continue reading...

Building mobile games in Adobe AIR - techniques used in Jumping Droid

May 22nd, 2011    by sigman    44618
  Tips   mobile, actionscript

Yes... building my first cross-platform and multi-screen mobile game was quite a challenge. At the time when I started this project, the Adobe AIR for mobiles (2.5) was quite immature and the best source of solutions and workarounds to new problems (often bugs) was the Adobe's Flash Community forum. I'm going to share here some techniques I learnt and used in Jumping Droid game. I encourage you to try them, experiment and mix with others, to achieve better optimisation and better performance.

continue reading...

Starting with AIR for Android and iOS - building one app for both platforms

May 10th, 2011    by sigman    50896
  Tutorials   actionscript, mobile

Nearly half year after I published a quick tutorial on how to set everything up to build AIR apps for Android, I find it pretty much outdated... At that time Flash developers could export their projects for Android using AIR 2.5 and for iOS using PFI (Packager for iPhone) which had functionalities matching AIR 2.0. On March 2011 Adobe have released AIR 2.6, which brings plenty of new features to Android but more importantly it brings them to iOS as well. In this article I will go through steps to create and publish your first simple app for both devices - Android and iPhone using Flash Professional CS5 and AIR 2.6.

continue reading...