frameworks

Renju Game in PureMVC

The script author created a very nice implementation of his favourite game Renju in ActionScript using PureMVC framework.

The game has great music, attention to detail and comes with sourcecodes.

It's a great resource for improving your AS skills - be sure to check also another posts in his blog.

Script Image: 
renju_game.jpg
Script author: 
Most probably Andrei Vieru

Gaia Flash Framework

Have you ever created a Flash based website? If yes, you must not miss this project. It's a framework which standardizes and facilitates the creation of flash based websites. It includes SWFObject and SWFAddress so you get deep link navigation out of the box.

This framework may dramatically improve your productivity when building a flash site.

Script Image: 
gaia-logo.jpg
Script author: 
Steven Sacks

AS3 Data Structures For Game Developers

Michael Baczynski, a flash developer from Germany is sharing his actionscript classes which he uses in GameDevelopment, but you can use the classes in any application.
In the structures you can find:

  • Collections
  • Multi-Dimensional Arrays
  • Queue
  • Stack
  • Tree
  • Binary Tree
  • Binary Search Tree (BST) and Hash Table
  • Linked Lists
  • Heap and Priority Queue
  • Graph
  • Bit Vector

The classes are AS3.

Script Image: 
ds_logo.gif
Script author: 
Michael Baczynski

Pure MVC

Pure MVC is a "state of art" Model View Controller design pattern AS3 framework. Probably you already know the Adobe's Cairngorm framework. Pure MVC is light-weighted and does not have all the features of Cairngorm, but this was the goal of it's author - the framework can be easily extended by the features you need, or you can download "add ons" which will be available in the near future.

Script Image: 
puremvc-0.jpg
Script author: 
Cliff Hall

PixLib

PixLib is an AS2 framework developed by Francis Boure. It contains many useful classes which help to keep your project well organized + keep the application logic and the design part separate.

PixLib has maybe a steeper learning curve, but it is definitely worth to spend 1 or 2 hours learning it.

My favourite classes from the library are the ConfigLoader, which makes loading of the xml easy. Very powerful is the XMLtoObject class which enables to define you the node types (string, number or even your own class).
For loading assets, the GraphicLib is invaluable.

PixLib implements MVCC (Model-View-Controller + Command) pattern which helps you structure your apps and keep the design and logic part separate. A very good tutorial which guides you through this pattern and the PixLib framework can be found here: http://dev.webbymx.net/?p=24

If you are an ActionScript programmer giving PixLib a try is a must. I self was using some own classes and patterns before, but the PixLib's are far more superior.

Script Image: 
pixlib-logo-0.jpg
Script author: 
Francis Bourre