Results 1 to 10 of 40

Thread: TileStudio for Lazarus

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I almost forgot this project.

    See. It's able to import tilesets:
    mapedit1.jpg
    As you see, the import dialog is simpler than TileStudio's one. Also it uses Allegro.pas internally. This limits it a bit but I'm used to the API. Once everything works I see how to use a better graphics lib (i.e. Vampyre).

    I'm having some issues with the PaintBoxes. When I change the width/height of tiles, the tile sample is re-rendered over the actual sample tile. Don't know why.
    No signature provided yet.

  2. #2
    Map edition is done. It doesn't edit everything I planned but does basic edition.
    mapedit2.jpg
    The small black squares are a bug. I'm using next code to draw "void" tiles:
    Code:
    WITH ImageMap.Canvas DO
    BEGIN
      Brush.Color := clInactiveCaption;
      Brush.Style := bsSolid;
      Rectangle (TX , TY, TX + TW, TY + TH);
      Pixels[TX, TY] := clBlack;
      Pixels[TX + TW - 1, TY + TH - 1] := clWhite;
    END;
    It should draw a gray square and two points, but it draws a gray square with black border. Don't know why.

    [edit] Fixed. I forgot the "Pen" property.
    Last edited by Ñuño Martínez; 27-03-2013 at 12:44 PM.
    No signature provided yet.

  3. #3
    Try and set the pen.style to psClear;
    Imagine I've written something clever here inspiring you to make something awesome. If that happens give me credits

  4. #4
    Quote Originally Posted by pstudio View Post
    Try and set the pen.style to psClear;
    I've edited the message while you wrote your answer.

    Yes, the problem was that I forgot the "Pen" property. Thanks.
    No signature provided yet.

  5. #5
    Last weekend I did fixed some bugs, added some brushes and added save and load map files in internal default format (not customizable yet). When I finished the user manual I decided that I don't like the way I planned to manage map layers and that the way that TileStudio manages map layers is much better, so I didn't released it yet because the internal file format is obsolete before to be released.

    So, next milestone is to re-define that internal file format. Once I implement it I'll release version 0.1, just to allow you to test it and tell me what do you think about it.
    No signature provided yet.

  6. #6
    Just to say that the new internal file format isn't working, that's why I didn't released yet. I don't know whay I'm doing wrong. I still working on it.
    No signature provided yet.

  7. #7
    I've fixed the file format issue (I forgot to write the "end" of the tileset name, so it didn't find it when loading ). I did also some "invisible" stuff.

    I was planned to release it as "version 0.1" but I think I will not until I add all stuff I planned (multilayer and "file format description language") or until somebody ask for it.
    No signature provided yet.

Bookmarks

Posting Permissions

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