Reflections.js | Adding some opacity?!

● ARCHIVED · READ-ONLY
Started by Underserial 2 posts View original ↗
  1. Hello there,

    i found this plugin:
    [embedded media]

    It works fine, but i dont know how to use some opacity to the mirrored characters.
    Someone into javascript and can help here?

    The mirrored picture looks exactly the same and it dont look "real".

    Thanks for ya help.
  2. To keep you updated i found an solution.

    You can add the function:

    this._southReflect.opacity = 100

    You can choose from 0 - 255 of the opacity
    Include this line in the line (after) 35

    and for mirror

    put
    this._mirrorReflect.opacity = 100
    after line 46

    from:
    https://kinoar.github.io/rmmv-doc-web/classes/sprite