DiscoGrid, Pure Actionscript 3 project in FlexBuilder

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

Demo | Source

Sprite Animation, update. Movement along a line defined at runtime

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

Demo | Source

Sprite Animation in Flex/AS3

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

Demo | Source

Avoiding sandbox violation in AIR when using DragManager on locally stored images

For a mini AIR project I had some issue with sandbox security violation warnings that kept coming up any time I was using DragManager on images for which the source had been set to some locally held images (within the User Directory).

To bypass these warning, it is required to load the bytes into a bitmap and to get the image component display the bitmap. Code below.

Semantic Web - Towards a Science of the World Wide Web

I attended two talks on the semantic web by Professor James Hendler, a few years ago. Lectures slides are available on the UoE distinguished lectures webpage. Here are my notes.

Simplistic map maker

Expand on the tileset example to provide a map editor

(The download functionality requires flash player 10)

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

Demo | Source

Free to re-use tilesets can be found on the Reiners website. As per Reiners Readme Page "All the graphics and meshes are freeware. Even for commercial Games. I just want my name in the Credits in the commercial case: Reiner "Tiles" Prokein. You can modify my graphics in every needed way to fit it to your needs: size, colour, fileformat, etc., you can reuse the textures ... . "

Further resources are listed on the widged wiki, under game content and game tiles. (Note however that these links were collected 2-5 years ago, some may be broken)

Mini tileset/chipset parser in Flex.

Tile manipulation via a SpriteSheet (grid that defines the location of the tiles) and TileSet (combination of grid and image data) abstraction


/**
* Get the bitmap for a tile at a given [row,column]
* @param rowId row index (starts at 0)
* @param columnId column index (starts at 0)
*/
public function getTileBitmap(rowId:int,colId:int):Bitmap
{
var bitmapData:BitmapData = new BitmapData(_sheet.tileWidth,_sheet.tileHeight, false, 0xFFFFFF);
bitmapData.copyPixels(_bitmap.bitmapData, _sheet.getTileRectangle(rowId, colId), new Point(0, 0));
return new Bitmap(bitmapData);
}

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

Demo | Source

Syndicate content
Powered by Drupal, an open source content management system