A Flash Developer Resource Site

Results 1 to 20 of 39

Thread: [AIR] FlashEdit - Tilebased Map Editor

Threaded View

  1. #1
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139

    [AIR] FlashEdit - Tilebased Map Editor

    hello

    been working on a tile editor in Adobe AIR for the past 3 days.

    3 days of fun (extreme sarcasm)

    anyway, I think its at a stage where people can do some beta testing. Please post any bugs if you wish to test. Hopefully there shouldn't be any in this simple version.

    Note* most functions are not working yet, such as:

    clearMap
    resizeMap
    toggleGrid
    export as2 class
    export as3 class
    export text
    flood fill
    selection
    duplicate layer
    undo
    redo

    but you can do everything else. Currently trying to create a better save dialog box which creates the extension for you. Right now, you need to save a map with the correct extension (.fem)

    I would really love to know the fps you guys get (bottom left) currently its very unoptimised, some people would have a fit if they knew the rendering method I'm using. It has potential to be real bad given enough layers and a small tile size and large map window. Will need to fix that in the future

    basically, I go over every layer in correct zOrder, loop through its onScreen tiles, and copy the correct chunk from the tileset into a bitmapData. So you can see it could get very bad, I have limited the min tile size to 16 so peoples computers don't die. The good thing is I dont need to copy bitmaps every time mapData changes, just modify array values and the rest sorts itself out. And I only need 1 display bitmap.

    anyway, blah blah blah, here's the setup file, If you dare

    you will need the runtime to install - http://labs.adobe.com/downloads/air.html (beta2)

    EDIT - I have no idea how this looks on a Mac, so it may not work correctly, I have tried to follow all the steps to support them.
    Last edited by mr_malee; 11-13-2007 at 05:38 AM.
    lather yourself up with soap - soap arcade

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center