Flex 2

Discussion in 'Utilities' started by snkenjoi, Nov 19, 2017.

  1. ProjectFM

    ProjectFM Optimistic and self-dependent Member

    Joined:
    Oct 4, 2014
    Messages:
    733
    Location:
    Portland, Maine
    Sorry for double posting. It seems save and then loading the data in Flex 2 for the sprite results in the sprite looking the same as it does in SonMapED. I tried reimporting the art from png, but the art imported incorrectly, and like before saving and loading further messed it up. It's definitely a problem with the tiles and not the mappings or DPLC's.

    Edit: The problem doesn't happen when using a Bitmap image.
    Edit 2: Is there a way to get rid of the window that comes up when you create mappings. It covers a large amount of the space, making editing very difficult.
    Edit 3: It would be useful if there was an option to clone mappings within a single sprite.
     
    Last edited: Apr 9, 2018
  2. snkenjoi

    snkenjoi Well-Known Member Member

    Joined:
    Sep 6, 2008
    Messages:
    55
    This is because Flex 2 can read all the formats that SonMapEd can, but SonMapEd cannot read all the formats that Flex 2 can. Again, you cannot rely on SonMapEd to accurately render all forms of mapping and DPLCs.

    When you say 'messed it up', do you mean that you can't view it in SonMapEd? What do you mean by 'imported incorrectly'? Because yes, SonMapEd will read valid data incorrectly. Is the art corrupted? Are there tiles missing? Did saving and loading somehow change what the data was?

    I'm not sure why you're trying to use SonMapEd to confirm that the output is correct as it does not have accurate support for these formats. I feel like this is simply an issue with your workflow, but maybe I don't fully understand the problem you're having.

    This should not be / is not possible. Once you have loaded the file it is in the same format.

    I opened a github issue for this. Might make it in the next update.

    Type nm to dismiss the mapping window. In the next version I will make it auto dismiss. Have been wondering if I should change that and I guess now I know.
     
    ProjectFM likes this.
  3. ProjectFM

    ProjectFM Optimistic and self-dependent Member

    Joined:
    Oct 4, 2014
    Messages:
    733
    Location:
    Portland, Maine
    Thanks for responding, but you misinterpretted. When I load a png through the "import spritesheet" feature, it looks fine on the importing screen, but in the mappings editor, the art is slightly messed up. Saving and then loading what I just saved further messes up the art. This doesn't happen when doing the same with a bmp. It's an issue with the art tiles and not the mappings or DPLC's.

    I can provide pictures if you need it.
     
    Last edited: Apr 12, 2018
  4. snkenjoi

    snkenjoi Well-Known Member Member

    Joined:
    Sep 6, 2008
    Messages:
    55
    I did wonder if I misinterpreted you! Sorry about that.

    This doesn't sound like something that should happen at all. Can you provide me with the PNG and BMP files that exhibit this behaviour so I can attempt to reproduce it? Either via PM, github issue or #ssrg
     
    ProjectFM likes this.