TF_Billboard.js You can walk around the tile!

● ARCHIVED · READ-ONLY
Started by Tonbi 50 posts Page 2 of 3 View original ↗
  1. This plugin is amazing and simple! But it seems to me that the new 1.5.0 update broke it. Is it possible to update it?
  2. dyoghenes said:
    This plugin is amazing and simple! But it seems to me that the new 1.5.0 update broke it. Is it possible to update it?
    I believe this will be fixed in an official update in the near future.
    So there are no specific plans for an update.
  3. I just wanted to say that simply removing the "_" from
    Code:
    _tileHeight
    and
    Code:
    _tileWidth
    fixes the plugin for me. To me, this is the best plugin to handle the Large Sprite Star Passability issue, so I think it's important that this fix is mentioned in case people still want to use it without waiting for an update.
  4. @Neo Soul Gamer I wonder if you would mind confirming what you did, as I think I have now done the same as you. Hoswever, the tall sprite is still clipped by a star tile and despite changing the 4-direction setting, as per the opening post, the sprite can walk down.

    I removed every instance of "_" before _tileWidth and _tileHeight. Ctrl+F with the search term _tile could only come up with _Tilemap. Should I only have removed certain instances instead of all?

    Thanks.
  5. @Tonbi
    I used the version you just linked and got the following error message

    1662645027385.png
  6. Kes said:
    @Neo Soul Gamer I wonder if you would mind confirming what you did, as I think I have now done the same as you. Hoswever, the tall sprite is still clipped by a star tile and despite changing the 4-direction setting, as per the opening post, the sprite can walk down.

    I removed every instance of "_" before _tileWidth and _tileHeight. Ctrl+F with the search term _tile could only come up with _Tilemap. Should I only have removed certain instances instead of all?

    Thanks.
    Sure thing!

    So I tried the original version of this plugin with both a previous version of MZ, and the current version. Just to confirm that the problem is indeed with MZ 1.5.0.

    I didn't know what the exact changes were for 1.5.0. So thanks to this changelog, I saw that _tileHeight and _tileWidth were changed to remove the underscores.

    So I made that same change in Tonbi's plugin to update the references to rmmz_core.js

    After I made the change, I ran the same exact test, and there were no crashes. Then I actually set the correct passabilities for the tiles, and everything worked as it should. No crashes or bugs (yet).
  7. Tonbi said:
    Thank you for using my plugin.
    I will try to fix this problem.

    Take this! And please write a reply!
    This has not been updated yet. There are still references to:
    Code:
    this._tileHeight
    and
    Code:
    this._tileWidth

    Once these were changed to
    Code:
    this.tileHeight
    and
    Code:
    this.tileWidth

    The plugin started to work.

    EDIT: Sorry for the double post mods. Won't happen again.
  8. This is a fantastic plugin, thank you for making this.
  9. Thank you!It's give me a big help.
    But I need my tile can pass all 4 dir,so I can't Set Passage (4 dir) bottom to [・].
    Maybe use Terrain Tag to set tile is a good way.
    I try to rewrite the plugin,but it's so hard for me.Can you help me?Thx !!:ywink:
  10. Just wanted to say its working like a charm in 1.4.3 version of MZ too. Thanks!
  11. I started using this plugin, and had no issues, but suddenly started crashing again with
    "Uncaught TypeError: Cannot read property 'addRect' of undefined"
    What could be causing this? Running RMMZ 1.7.0


    Update: A temporary solution has been found. Quoting the user who helped me:

    "Anyways, I could suggest a "bandaid" solution that doesn't solve the source of the bug but at least prevents a crash from happening. Under Tilemap.prototype._addSpotTile, if you added the if statement if (!!this._billboards[ y ]) in front of line 96 so the code looks like this:

    This will tell the program to not do anything if it's about to add a tile to a non-existent layer, but since we haven't solved the source of the bug this might get into a weird problem. However it might make it more obvious where the source of the problem is"
  12. daiboy12 said:
    Thank you!It's give me a big help.
    But I need my tile can pass all 4 dir,so I can't Set Passage (4 dir) bottom to [・].
    Maybe use Terrain Tag to set tile is a good way.
    I try to rewrite the plugin,but it's so hard for me.Can you help me?Thx !!:ywink:
    Sorry for the very late reply.
    I released a new plugin 'TF_LayeredMap.js'. https://github.com/tonbijp/RPGMakerMZ/blob/master/TF_LayeredMap.js
    You can try it!
  13. NinefoldSpirit said:
    I started using this plugin, and had no issues, but suddenly started crashing again with
    "Uncaught TypeError: Cannot read property 'addRect' of undefined"
    What could be causing this? Running RMMZ 1.7.0


    Update: A temporary solution has been found. Quoting the user who helped me:

    "Anyways, I could suggest a "bandaid" solution that doesn't solve the source of the bug but at least prevents a crash from happening. Under Tilemap.prototype._addSpotTile, if you added the if statement if (!!this._billboards[ y ]) in front of line 96 so the code looks like this:

    This will tell the program to not do anything if it's about to add a tile to a non-existent layer, but since we haven't solved the source of the bug this might get into a weird problem. However it might make it more obvious where the source of the problem is"

    Thank you for your information.
    I am currently investigating, but have not been able to reproduce the issue.
  14. Tonbi said:
    Thank you for your information.
    I am currently investigating, but have not been able to reproduce the issue.
    The person who helped me was also unable to reproduce the issue. He had some theories based on map size but we haven't found anything conclusive. I use 32x32 tiles, and custom assets for tilesets and characters, but I don't really have anything else going on out of the ordinary.
  15. Certainly, the objects around the layer have been changed in 1.7.0, but the addRect method is also included in the changed object, and I did not understand the reason for the error.
    :) ???
  16. I haven't hit an error yet, but I'm using it on 48 x 48 tiles. I wonder if it is unique to 32 x 32 tilesize setting (or smaller?)
  17. I have issue with tile that you can walk around. It either cuts off actor image in front, but is fine behind, or it fine in front, but cuts off actor image while behind.
    1718350222061.png