TF_LayeredMap.js You can walk around the tile!

● ARCHIVED · READ-ONLY
Started by Tonbi 68 posts Page 3 of 4 View original ↗
  1. Tonbi said:
    Github keep all changes of file.
    https://github.com/tonbijp/RPGMaker...371907f3feea66f1ea34a6f91571/TF_LayeredMap.js

    Click commit title.Choose […] - [View file] menu, and push [Row] button to get older version.
    But they have some bugs.
    thank you very much
    GitHub always confuse me
    I'm so noob with its' interface -....-
    I take months to understand out how to download something from there - -*
    ------------
    Edit
    from my test Version :0.12.2.0
    is the last one that not error with chrono engine
  2. Thank you ... but I couldn't solve the problem.
  3. Stairway and bridge tile sets.

    A3A4WallStairs.png

    Put images of wire mesh (top) in odd-numbered columns of A3 and A4, and set up [tile set] in [Counter][○].
    A wire fence (side) and a grate are set up by placing an image in an even-numbered column of A3 or A4, and [tile set] in [Counter][○].

    You put an image of a staircase in an even-numbered column of A3 or A4, and [Tile Set] in [Terrain Tag:3][O].

    Next to the bridge ←→ Orientation, place the image in the odd column of A3, and use [tileset] to [terrain tag:3][x] Settings.
    For the vertical ↑↓ orientation of the bridge, place the image in an even column of A3 or A4, and set a [tilesset] to [terrain tag:3][x].

    You can change the terrain tag in the option.
  4. I just wanted to say that this is one of my favorite plugins ever! It's fixed so many tileset problems for me while making my game. I don't know where i'd be without it.
  5. Could you perhaps upload a demo?
    I'm afraid I'm getting lost in all the text. :rswt
  6. There are some bugs when using with MPP_HiddenPassage.js
    Is it possible for this to be patched? :kaoswt:

    Edit: Oh wait, the bugs occur in MPP_HiddenPassage.js, so I ought to contact Mokusei Penguin instead.
    My bad my bad.
  7. Hello,
    First thank you for this amazing plugin.

    I have a little question:

    When I have a map where I put a A2 counter (the table) behind a A4 roof like in the picture under...

    Capture d’écran 2021-08-12 184622.png

    ... in game, the counter appears above the roof.

    Capture d’écran 2021-08-12 184620.png

    The parameters I used where the following.
    I got the same results with the default parameters or in a blank project.


    Capture d’écran 2021-08-12 184624.png

    There is 99% chance I have missed something, but it is an expected behaviour?
    If it is, what can I do to have the table not invading the roof?
    I have some javascript knowledge, I will understand a technical explanation.
  8. I'm sorry for the delay in replying.

    I don't remember why I made it that way, but I guess it was convenient for the game I made.
    I made this plugin a long time ago, so I don't know what I'm doing anymore.
  9. After auto-translating the comments, I got a better idea of the thing.
    Basically, the treatDataMap put all A3, A4 and special A5 from layer 0 to 1, adding the DefaultLowerTileId (or a neighboring tile, if the options say so).

    But the condition to not draw the table edge in ShaderTilemap._paintTiles
    is based only on layer 0, so it doesn't apply because of the previous change.

    I changed the condition to include layer 1, for now it seems to fix the thing:

    JavaScript:
            // Table drawing
            if( this._isTableTile( northTileId1 ) && !this._isTableTile( tileId1 ) ) {
                if( !Tilemap.isShadowingTile( tileId0 ) && !Tilemap.isShadowingTile( tileId1 ) ) {
                    this._drawTableEdge( lowerLayer, northTileId1, dx, dy );
                }
            }
  10. Thank you so much!
    That's the perfect solution.
    I immediately rewrote the code.
  11. Wow it works really well! Im a little bit scared to put it right behind the yanfly core engine - i have so many plugins below.. :D im not a expert to know what this plugin is changing in the core :D

    only thing i know is to put it above yanfly eventchaseplayer plugins, otherwise its crashing.
  12. Hi, Tonbi! Thank you for helping me with the plugin.
  13. Not sure if this has already been asked. But is it possible to have this work along with HalfMove?
  14. Puppet Knight said:
    Not sure if this has already been asked. But is it possible to have this work along with HalfMove?
    Yes! I love HalfMove.js!!
  15. Tonbi said:
    Yes! I love HalfMove.js!!
    I guess the secondary question is how to have it impact billboards better

    Since the half move is on, The actors are able to move up higher than they should be able to
    1691525751673.png


    1691525913591.png

    But from above, they can't half move under the same tile which would be cool if possible!



    So my questions are (if you know):

    1) How can I set up the two plugins to play together enough to prevent the first image, so Half Move respects your billboards when approaching those tiles from the bottom?

    2) Is there a way to Set Half Move up to be able to go lower behind billboards (from the top) ?


    Separate. It seems I'm missing plugin params?

    index.php


    But mine:

    1691527085227.png
  16. Puppet Knight said:
    I guess the secondary question is how to have it impact billboards better

    Since the half move is on, The actors are able to move up higher than they should be able to
    View attachment 272705


    View attachment 272708

    But from above, they can't half move under the same tile which would be cool if possible!



    So my questions are (if you know):

    1) How can I set up the two plugins to play together enough to prevent the first image, so Half Move respects your billboards when approaching those tiles from the bottom?

    2) Is there a way to Set Half Move up to be able to go lower behind billboards (from the top) ?
    I may not have understood the question.

    It seems to me that it would be better if you set the passage to ☆ and ←↑→・.
  17. Tonbi said:
    It seems to me that it would be better if you set the passage to ☆ and ←↑→・.
    I realized that what i had set for the bottom portion of the chair wasn't helping things there.

    Good catch.


    Now to just figure this out


    1691536369626.png
  18. Would anyone happen to know if this plugin still works? I can't seem to figure out how to get it to function properly. Even after hours of trial and erroring, and I am honestly at a complete loss of what to do at this point. Do I need other plugins installed aside from TF_LayeredMap.js, in order for it to work?
  19. Adiemus said:
    Would anyone happen to know if this plugin still works? I can't seem to figure out how to get it to function properly. Even after hours of trial and erroring, and I am honestly at a complete loss of what to do at this point. Do I need other plugins installed aside from TF_LayeredMap.js, in order for it to work?
    This plugin is easy to use, I think.
    Step 1 Set B-E tile Passage to upper[☆].
    Step 2 Set Passage (4 dir) bottom to [・].

    Some functions need HalfMove.js
    TF_LayeredMap.js You can walk around the tile!