PH - Sprite Reflection

● ARCHIVED · READ-ONLY
Started by PrimeHover 79 posts Page 4 of 4 View original ↗
  1. Is there a way for me to add a custom reflection? i.e., I make a sprite sheet that can be used as the sprite's reflection?
  2. I want to use it in A2 and A5.
  3. goog
  4. @PrimeHover
    Cannot read property 'x' of undefined. Happens on basic startup.
  5. Hate to necropost but is anyone able to fix the plugin so it's compatiable with v1.6.2?
  6. So i tried to put the plugin command to have an event not have a reflection as per the helpfile, but its not working. I tried as a parrallel event ....
    PHSpriteReflection event off Name of the Event # Turns off the reflection of a specific event
    I had put
    PHSpriteReflection event off EV003 (and repeating to EV006)
    but nothing changed and i still had reflection on a vertical bridge in a map.
    (see
    image
    Capture.PNG
    )
    I even put the plugin command on the events themselves. anyone know what im doing wrong???
  7. TypeError
    Cannot read property 'noReflection' of undefined

    This is the error message I get on startup.
  8. I found a great way to make mirrors and made a video about it if you want to check it out.
  9. while gimmer looks nice, but I prefer TSR_Mirror if this one isn't update,
    mostly because it highly compatible with YEP library, works in MZ and MV.

    test it out @josephdevelops you would love that one too, way easier too use too :)
    you can rotate, set it in an angle of the sun etc. opacity depence tiles, so no
    fancy codes required :)
  10. ShadowDragon said:
    while gimmer looks nice, but I prefer TSR_Mirror if this one isn't update,
    mostly because it highly compatible with YEP library, works in MZ and MV.

    test it out @josephdevelops you would love that one too, way easier too use too :)
    you can rotate, set it in an angle of the sun etc. opacity depence tiles, so no
    fancy codes required :)
    I've tried TSR_mirror and I find Gimmer's plugin to be preferable. The additional features don't interest me.
  11. TypeError
    Cannot read property ' Reflection' of undefined
  12. Seems like the person who wrote this plugin isn't active anymore, so I apologize for necro this thread.
    I like this plugin and I can't use any other (tried TSR and RS and some more) and I just have one (hopefully) simple question so maybe any other coder could be possible to read the plugin's code and answer my question.
    By default, if you add this plugin, the option in the menu is turned off. I'd like to have it on by default. I know I could start the game, turn it on, and upload the game with my config file. But with starting the game the first time, I give the option to chose your language and this wouldn't come up if I export the game with the config.

    TLDR: Is there any chance we could edit the plugin so the option is ON by default?
  13. @Zion it seems to be ON so far I could read the code, as the configManager = true.
    if it is not the case, than you could try to set global reflection to true which are
    on 2-3 places, cannot garanteed if it works as intended afterwards as well.
  14. ShadowDragon said:
    @Zion it seems to be ON so far I could read the code, as the configManager = true.
    if it is not the case, than you could try to set global reflection to true which are
    on 2-3 places, cannot garanteed if it works as intended afterwards as well.
    Whoa, this is really a fast reply! Thanks for looking into the code. Unfortunately, it is not on by default. Reading through this thread I found other users were confused by that and thought it would not work at all. I think the configManager = true is simply the code to show it in the menu, not if the switch is on or off. But I might be wrong as I have no JS experience.
  15. @Zion try changing line 122 (Global = true), same thing on line 409.

    the only option that concern me is on line 446 which ON = global off,
    OFF = global ON (which seems to be default).

    if not, change the lines and see what happens (no guarantees though).

    good luck further (if it doesn't work, maybe someone have more luck).
  16. ShadowDragon said:
    @Zion try changing line 122 (Global = true), same thing on line 409.
    I changed them, nothing happened (at least in the option menu), but thanks for helping.

    ShadowDragon said:
    the only option that concern me is on line 446 which ON = global off,
    OFF = global ON (which seems to be default).
    Yeah, looks sort of weird. I changed them too, but with no success.
    Anyway, thanks for your time!
  17. This is a much lighter plugin than TSR_Mirror! But as I use Layers as Parallax, the reflections are above the Layers.

    Is there any way to change the plugin that plays the reflection below the Layers?

    VTE5S6K.jpg
  18. I tried this plugin and unfortunately I am not getting any results. I created a parallel event with a plugin command to turn the plugin on. (I can't tell if this is required the way this is written.) I edited the terrain tags to give all the A1 water tiles a value of "1". I added this note tag which I copied from the screenshot.

    <PH>

    Water1={30}

    </PH>

    No reflections are rendering. Does this require photo editing of tiles or some other unspecified requirement? Please explain. I tried accessing the Official Blog Post but it did something sketchy that I thought could be trying to give me a virus.
  19. @LeetMusic I don't know how it exactly works.
    TSR_Mirror require editing of the tiles to be transparant (on reflections)
    so it only draws on those.

    so I don't know how this exactly works, it's with playing around or how its
    used.

    check helpfile or demo if exist.