Utilities

Flan Map Editor

Alpha


Download now and try it for free

Flan for Windows - Alfred Branch - Alpha 8.3 (2MB)
Flan for Mac OS X (Universal) - Alfred Branch - Alpha 8.3 (5MB)

Whacky Whacky example map and source code included.

Please consider contributing to it's development by buying a license. Thanks.
Old versions
Alpha 8, 1.5MB + example
Alpha 7.2, 1.41MB
Alpha 6, 1.41MB
Alpha 5, 1.4MB
Alpha 4, 1.3MB
Alpha 3, 1.3MB
Alpha 2, 1.3MB
Alpha 1, 1.2MB

Information

Flan Map Editor is a multi-layer tilemap editor for Flixel.

View a screenshot
View it's capabilities

Step by step tutorial
More tutorials

Key features so far

Multi-layer; Parallaxing; Flixel compatible; Save/Load from ".flan" or CSV text; AS3 code generation.
Once configured, exporting just takes 1 click.
* Configuration is saved to the ".flan" file, so multiple projects can be opened at once/export to their appropiate folders.
* Load palette from image strip (Flixel tileset format)
* Import already made CSVs (Flixel tilemap format)
* Parallaxing configuration and testing in-editor
* Sprites!
* Layer operations: Resize and move tiles by offset.

Change log

All versions are backward compatible with ".flan"s

ALPHA 7
+ Flood-fill bucket tool [UNDOABLE]
+ Status bar with pixel/tile position information.
+ Custom per-sprite parameters (property-value grid)

^ Palette shows "No layer selected" instead of a blank frame on new maps.

* Fixed undo/redo: Now disabled if nothing to undo/redo (I think it crashed before the fix, never noticed it)
* Undo/redo text: Tells you what are you undoing or redoing
* Palette shows the correct tileset as soon as you change between layers.
* Currently selected layer set bold in the layer list to make it more obvious

ALPHA 6
+ New tab: Custom stuff.
+ Allows you to add some custom string-string name-value pairs to the map.
+ And a custom function that takes a "*" parameter and returns a "*" value, to call whenever you want.
+ Tools menu with the option to easily associate .flan files with the application.
* Abilityto add non-square 1-frame sprites.
* Started to port it to be plugin-friendly (for import, export AND on-the-fly modification filters)

Alpha 5
+ Export/Import de sprite type lists, in case you changed a map and want to carry that list to other similar ones
(Experimental, save your work before trying!)
+ Full layer tile replacement (all of indexA to indexB).
It's awful and tedious but, for now, it's quite functional (specially for the "expansion" of tilesets)
+ Added map name to the title of the application for knowing what you're working on.
+ You can now set the "Package" for the exported ".as" files, to match the path you want.
* Corrected generation of code for addition of sprites (_map.addSprites...)
* Sprite tool: If not aligned to grid, there is no tile selection square when adding sprites (that usually bothers)
* Warning message if you want to remove a layer (before it just dissapeared). I think it would be nice as this is not undoable.
* If not grid aligned, sprites are put centered to the cursor (instead of top-left aligned as before)
* Fixed weird-rect-for-text-labels bug (reverted to old revision of wxWidgets)
* Fixed: deletion of sprite type didn't remove sprites of that type.

Alpha 4
+ SPRITES! YEAAAAH! (Basic thou, read below)
+ Layer width/height suggestions for parallaxing depending on scroll factors and main layer's width/height.
+ "Visibility" tab's options implementedd (now called "Layer visibility" tab)
+ Undo/Redo for painting PER TILE and nothing else (rather basic, see below)
* You can now type the "-" sign in spin controls (wxWidgets bugfix)
* Generated map max bounds were off by 1 pixel
^ Improvements in parallax testing code
^ Screen box when testing parallaxing to have a better idea of what "you will see"
v BUG: wxWidgets new trunk version makes the Editing layer text flicker on redraw.
If it doesn't get mouse moves, resize the window a bit.
v BUG: Weird drawing when hovering with mouse while testing parallaxing.

See CHANGELOG.txt for more details on how to use the sprites.

Alpha 3
* Highly improved rendering speed/less CPU eating
+ Import and export single layer CSVs. You can load your previous work to Flan!
+ New properties tab: Screen
+ Parallax testing
+ Background color in generated code using a non-scrolling color-sprite (Thanks Adam for the idea!)
* Fixed incorrect name shown at "Editing layer" in the main window.
Alpha 2
+ Per layer parallaxing (offset + scroll factor)
+ Optional generation of a base map class for OOP multiple map loading
+ Bounds information: How much pixels does the map use? (useful for FlxG.followBounds())
+ Moving one/all layer tiles by a given offset
* Fixed error in scrolling

Alpha 1
+ Paint with left click and use pipette with right click.
+ Multiple layer editing
+ Save/load all layer info to a single .flan file (except for tileset images).
+ Set directories and easily export to CSV and AS3 code.
+ Generate code to add generated layers to a FlxState on clipboard.
+ Resize/Cropping of each layer individually
+ Hide/show layers while editing for comodity and performance

Known bugs

* You need to hover with the mouse on some places (editor, palette) to show some configuration changes
* Rendering needs optimization
* Can't type in negative numbers in spin controls (It's a wxWidgets issue).
* wxWidgets new trunk version makes the Editing layer text flicker on redraw.
If it doesn't get mouse moves, resize the window a bit.
* Weird drawing when hovering with mouse while testing parallaxing.

Features in the roadmap

Next releases
* Pattern/auto-random tile painting from a selected subset
* Complex tile painting (multi tile brushes) - built from defined or auto-random tiles
* Sprite selection from the palette. * Bucket tool
Roadmap
Priority
* Bucket tool (flood fill)
* Mac/Linux versions
* Sprite placing enhancements

* Culling map optimizations (clear tiles that will never be seen)
* Export/Import plugins
* Status bar with cursor tile X/Y information * Grid
* Rect selection holding right-click
* Only need to "apply changes" for operations that could result in loss of data (move, resize...)
* Autosave
* More complete Undo/Redo
* Better painting of tiles when sweeping thru cells with the mouse button down.
* Custom replace all tiles of a given type for another tile type.
* Multi-lingual support
* Heuristic tileset image change detector (auto swapping of tiles on tilemap modification)
* Tileset image modifications in the same application (e.g. to add more non-collidable tiles, relocate tiles)
* Stuff that's now greyed out will be available.
* Opacity for layers

System requirements

Microsoft Windows NT/2K/XP/Vista.
Native Mac OS X universal
Mac OS X and Linux using Wine

License


Click here for more info





Games
Utilities

Blog
Forum
Contact

Copyright 2009 Martín Sebastián Wain