TF_Billboard.js You can walk around the tile!

● ARCHIVED · READ-ONLY
Started by Tonbi 50 posts Page 3 of 3 View original ↗
  1. Jobhob said:
    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.
    View attachment 308410
    At this size, it might be better to use an event.
  2. Well that's sad.
  3. Tonbi said:
    Thank you for your information.
    I am currently investigating, but have not been able to reproduce the issue.

    Hi, thank you very much for your hard work. I am using your plugin as well. I was using your plugin just fine with 32x32 tiles for ages. If you're still trying to reproduce this bug, I have just begun encountering it by changing the screen width and screen height within the sSystem 2 settings. Hope that helps, and thanks again!
  4. I also get an error msg that crashes my game:

    "Error: Uncaught TypeError: Cannot read property 'addRect' of undefined"

    For the record, I also use 32x32 tiles in MZ and I have a screen resolution set to 640x480 (set through the System2 tab). Perhaps that has something to do with it?

    I've also tried to turn all my other plugins OFF, and only leave this one ON... and I still get the error msg after running around for a few seconds on a map that's 40x45.

    For some reason the problem (the crash) only seem to occur when tiles that has been set to be "billboards" come onto screen. If I run around and there's no "billboard tiles", then there's no problem.... but when they come up on screen the crash happens almost immediately.

    I'm not sure how helpful it is but I screenshotted the DevTool after the crash for you @Tonbi

    I really like the plugin so I hope it's a fixable bug.

    1756303477706.png
  5. Thank you for the quick fix @Tonbi , I didn't expect you to respone within 24 hours!
    Since downloading the new version I've not experienced any crashes - fantastic!

    ...but I'm wondering, isn't it normal to be able to divide the tileset by both the height and width of the screen resolution? Even the default resolution allows for that, right?

    Also, are you planning to port your TF_LayeredMap plugin to MZ as well?

    Tonbi said:
    Thank you for your report.

    I didn't anticipate cases where the screen height is divisible by the tile size.
    It's simply a mistake.

    The new version of this plugin is here.

  6. The billboards are arranged vertically, but the script was written assuming fractional values.
    Issues arose when the division resulted in a remainder of zero.

    TF_LayeredMap.js is here. There are differences in some specifications.


    Parallax Panda said:
    Thank you for the quick fix @Tonbi , I didn't expect you to respone within 24 hours!
    Since downloading the new version I've not experienced any crashes - fantastic!

    ...but I'm wondering, isn't it normal to be able to divide the tileset by both the height and width of the screen resolution? Even the default resolution allows for that, right?

    Also, are you planning to port your TF_LayeredMap plugin to MZ as well?
  7. Thank you again, @Tonbi , I didn't know you had already made a version for MZ, I guess I didn't look hard enough (although I did google it). That being said, TF_LayeredMap.js give me an error that TF_Billboards.js does not:

    "ReferenceError: PluginManagerEx is not defined"

    Is there perhaps a core plugin or something I'm missing?

    Also, while using your TF_Billboards.js I've run into another problem. Everything works perfectly fine with with one billboard tile, but when using larger sprites that overlap more than one tile set as a billboard at the time, the sprite clips...

    You can see how my tileset is setup below. The reason I've set it up like that is because my sprite is very tall and if I just set it as regular ✰, then things will look okay when I walk behind it, but when walking in front the upper tile will clip through the character's head/hair.

    Is there someway to fix this?

    bug.png
  8. PluginManagerEx is a command included in PluginCommonBase.js, the MZ standard plugin.
    TF_LayeredMap.js requires PluginCommonBase.js.

    You can use the setting below.
    * 0x9 ・→←・ : billboard, all directtion , 2nd floor
    * 0xA ・→・↓ : billboard, all directtion , 3rd floor
  9. Thank you Tonbi, I didn't know I needed that plugin.
    I'll try it out later and report back if I find anything else.