New version of Paint Example Up
This version is a complete rewrite as a flex component and adds color picking (Ctrl+Click - would've done Alt but you can't catch that event in flash *shakes fist*), a preserve transparency mode, support for non-square pixels, auto-stretching to the container size, more grid options, and improvements to the Graphic and GraphicResource classes.
This example also shows a GraphicResource being dynamically loaded, building auto clip names from a uniform grid (they're named "Xindex,Yindex"), loading clips by name, locating clips by pixel offset (click anywhere on the resource map to load that clip into the paint component).
I also have the first step towards a dungeon editor (TilePaintCanvas extending PaintCanvas - to paint with sprite tiles instead of just colored pixels)
And now, some SleepPaintCanvas.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment