Using Flex 2 for GameDev Middleware
While the whole world is hyping Rich Internet Applications, I’m sitting here in my lab and could not bother less! Flex is really neat and who says that it’s only useful for shopping- or flight-ticket booking systems?! Nobody? Good! I’m using Flex to develop my game development Middleware, i.e. editors like the TileSetTool that I’m working on (if I’m not working on the hexagon framework what I’m doing most of the time). When Flex2 was still really fresh I’ve pondered to use Java for this instead but as it turned out, ActionScript 3 is fast enough for most of my desired operations.
So for now this TileSetTool can be used to convert my (custom format) tileset XML files and their belonging tileset image files into combined tsc file which are compressed and saved to disk by the tool (using Zinc). This editor is probably just the first stage to a much more versatile tilemap editor. The tool uses parts of the hexagon framework which also will contain a tile engine to support the tilesets and maps.
It’s fantastic how quick you can knock an application out of the ground with Flex and AS3 while others are still fighting with their IDE.
You can click the image to see a full screenshot of the tool. In case you’re wondering … no, I’m not working on a Flash version of Uridium 2 (would be an idea though). The tileset is only for testing purposes.