SonLVL

Discussion in 'Utilities' started by MainMemory, Mar 29, 2011.

  1. Pacguy

    Pacguy :3 Member

    Joined:
    Jul 5, 2014
    Messages:
    1,051
    Location:
    Little Planet (Past)
    Those animated mappings have always been a pain to work around; I'm glad to see some effort has finally been pushed to support editing them in the level editor, even if it isn't quite finished yet.
     
  2. Clownacy

    Clownacy UP - ON - CPU Staff

    Joined:
    Aug 15, 2014
    Messages:
    797
    Location:
    Englandland
    ?
     
  3. Pacguy

    Pacguy :3 Member

    Joined:
    Jul 5, 2014
    Messages:
    1,051
    Location:
    Little Planet (Past)
    Not the art itself; rather the mappings. They occasionally reference main level art, and can reference the wrong tiles when shifting art around. I never understood why Sonic 1 and 2 uses a separate mappings file for animated level art...
     
  4. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    793
    Only Sonic 2 has special block mappings for animated art, and SonLVL does not and cannot edit them.
     
  5. Pacguy

    Pacguy :3 Member

    Joined:
    Jul 5, 2014
    Messages:
    1,051
    Location:
    Little Planet (Past)
    Well darned, I got my hopes up :confused:

    An interesting update, nonetheless. Also, you can probably tell how long it has been since I touched Sonic 1...

    EDIT: I've recently noticed that objects don't render in the foreground layout editor. I could've sworn they did previously; is this some sort of bug?
     
    Last edited: May 1, 2018
  6. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    793
    You probably have "Include objects with FG" unchecked. It used to be in the Export menu, but I've moved it to the View menu and made it affect the editor as well as exporting.
     
    Roxurface and Pacguy like this.
  7. Ashuro

    Ashuro Well-Known Member Member

    Joined:
    Sep 27, 2014
    Messages:
    513
    Location:
    France
    Hi, I don't know if this idea has already been proposed or if you plan to do it, but would it be possible to add some kind of visual option to locate unused blocks and tiles more easily?
    Like in the picture, That would be really helpful! for example:
    idea.png
     
  8. Pacguy

    Pacguy :3 Member

    Joined:
    Jul 5, 2014
    Messages:
    1,051
    Location:
    Little Planet (Past)
    "Delete Unused" seems to be trying to fill that hole. I see where you're coming from though; levels that have object art in the level artwork can't use the Delete Unused feature without damaging the object art, so a way to find unused tiles and pick them out yourself would be nice.
     
    Ashuro likes this.
  9. Ashuro

    Ashuro Well-Known Member Member

    Joined:
    Sep 27, 2014
    Messages:
    513
    Location:
    France
    Yes, that's exactly it, that's why I'm asking for an option like this one, because that's what just happened to me: object tiles deleted. x)
     
  10. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    793
    Well, the Usage Counts dialog will list unused tiles with a count of 0.
     
    Ashuro likes this.
  11. Ashuro

    Ashuro Well-Known Member Member

    Joined:
    Sep 27, 2014
    Messages:
    513
    Location:
    France
    Oh, okay, thanks haha!
     
  12. Roxurface

    Roxurface Well-Known Member Member

    Joined:
    Oct 5, 2014
    Messages:
    64
    I'm editing collision, but can't seem to get my edits to commit, if that makes sense. I know it's saved because I've edited other parts of the layout, and I know it's the right chunk. Any clue why I'm still running into it?
    [​IMG] Capture2.PNG
     
  13. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    793
    That picture isn't terribly informative. As far as I can see, the collision should be saving along with everything else.
     
  14. EMK-20218

    EMK-20218 Eduardo Knuckles Member

    Joined:
    Aug 8, 2008
    Messages:
    899
    Location:
    Angel Island
    (Since this is the SonLVL's thread, I thought this would be the proper place to give these questions about the editor especially because other people could be running into the same questions, so...)
    I have some questions in hand.

    First one is: Is there any setup guide or specific instructions for the usage of the SonLVL's SonAni tool? I tried to open a animation with this tool a couple times, but I failed in all attempts. I'm really wanting to configure some of my hack's animations in a better and easier way and this makes me really curious to experiment this tool, but I have no idea of how should I start to use it.

    Second one is: Is there any way of porting solidity from pictures the way it's possible with the art itself or at least to make the editor to auto-setup solidity data when I port blocks from images?
     
    Calvin likes this.
  15. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    793
    There is no specific guide for SonAni, the closest thing is this post that gives an example INI.

    As for collision, you can provide an image with the same name as your art image with a _col suffix (or _col1 and _col2 for S2/S3K). If you check the "Export art+collision+priority" option in the Export menu and export blocks, chunks, or layout, you can see how it works.
     
    EMK-20218 and Calvin like this.