PH - Sprite Reflection

Discussion in 'JS Plugin Releases (RMMV)' started by PrimeHover, Nov 25, 2015.

  1. C-Unit Studios

    C-Unit Studios Veteran Veteran

    Messages:
    47
    Likes Received:
    8
    Location:
    Maryland, USA
    First Language:
    English
    Primarily Uses:
    RMMV
    Im having a problem where all water tiles are reflecting indiscriminately 


    if the windows options is at 0 nothing works at all, while if I go to the options and turn it on every water tile will always reflect.


    The terrain tags and plugin commands dont seem to work at all.


    This can be a problem because reflections will show up on things like waterfalls and lillipads.


    Also tiles like muddy water that shouldnt have a reflection will have them
     
    #41
  2. C-Unit Studios

    C-Unit Studios Veteran Veteran

    Messages:
    47
    Likes Received:
    8
    Location:
    Maryland, USA
    First Language:
    English
    Primarily Uses:
    RMMV
    I was actually able to work around this by giving a setting for each individual terrain tag I used for the water tiles and turning the opacity to 


    0 for the ones I didnt want to reflect
     
    #42
  3. Joe Musashi

    Joe Musashi Veteran Veteran

    Messages:
    58
    Likes Received:
    15
    First Language:
    English
    Primarily Uses:
    RMMV
    Great work mate!


    Would it be possible to add it so you can select which part of a tile will reflect, ie so you dont get reflections on grass and rock(surly there is a better method than scaling the image)


    Maybe by editing the png and making area you want to reflect by changing the opacity?
     
    #43
  4. Joe Musashi

    Joe Musashi Veteran Veteran

    Messages:
    58
    Likes Received:
    15
    First Language:
    English
    Primarily Uses:
    RMMV
    For example


    Here is an A1 edit saved in psd format.


    The areas that a user wants the sprites to reflect are made set to 65% opacity.


    This is how I did sprite reflection in a VX Ace game, this method gives you alot of control :)

    View attachment Outside_A1.psd
     
    #44
  5. Joe Musashi

    Joe Musashi Veteran Veteran

    Messages:
    58
    Likes Received:
    15
    First Language:
    English
    Primarily Uses:
    RMMV
    Could you implement this into your plugin?


    Would you like to look at the script for VX Ace?
     
    #45
  6. PrimeHover

    PrimeHover Veteran Veteran

    Messages:
    88
    Likes Received:
    143
    First Language:
    Portuguese
    Sure! Send me the RMVX Ace version! I'll take a look and see what I can do!
     
    #46
  7. Joe Musashi

    Joe Musashi Veteran Veteran

    Messages:
    58
    Likes Received:
    15
    First Language:
    English
    Primarily Uses:
    RMMV
    #47
    PrimeHover likes this.
  8. PrimeHover

    PrimeHover Veteran Veteran

    Messages:
    88
    Likes Received:
    143
    First Language:
    Portuguese
    #48
  9. Joe Musashi

    Joe Musashi Veteran Veteran

    Messages:
    58
    Likes Received:
    15
    First Language:
    English
    Primarily Uses:
    RMMV
    I'm Happy to help in anyway I can :)

    Keep up the great work!
     
    #49
    PrimeHover likes this.
  10. jameswestbrook351

    jameswestbrook351 DecayingDev Veteran

    Messages:
    58
    Likes Received:
    13
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    Can you please upload a working demo project of this? I'm trying to follow the instructions and I cannot figure it out. 


    edit: I figured it out but it would still benefit other people if you uploaded a demo project that showcased how it works. 
     
    Last edited by a moderator: Jan 3, 2017
    #50
  11. moldy

    moldy Veteran Veteran

    Messages:
    190
    Likes Received:
    28
    First Language:
    English
    Is it possible to add another option for mirrors? So we can reflect on tiles to the north of us instead of just south? :D
     
    #51
    TheCosmicSlug likes this.
  12. masterlobo

    masterlobo Veteran Veteran

    Messages:
    146
    Likes Received:
    77
    Location:
    Seattle, WA


    Did you also have to change options?
     
    #52
  13. jameswestbrook351

    jameswestbrook351 DecayingDev Veteran

    Messages:
    58
    Likes Received:
    13
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    Yeah. My first issue was not knowing how to implement it, and the second was finding out it's disabled in options by default. 
     
    #53
    masterlobo likes this.
  14. Indsh

    Indsh Veteran Veteran

    Messages:
    217
    Likes Received:
    65
    Location:
    Bristol
    First Language:
    English
    Primarily Uses:
    N/A
    Just leaving message to remind myself to download. Looks dope!
     
    #54
  15. You Clod

    You Clod Villager Member

    Messages:
    18
    Likes Received:
    2
    First Language:
    German
    Primarily Uses:
    RMMV
    I really love this plugin but when I use it there´s this strange thing. When I turn your plugine off again it all works perfectly fine. Basically it is a reflection of somme events like waterfalls which are above the water as you can see in the screenshot. How can I fix this?
     

    Attached Files:

    #55
    billyjb26 likes this.
  16. billyjb26

    billyjb26 Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMMV
    Hi, I would also like to say I love this plugin, but I'm having the same issue with waterfalls being incorrectly reflected.
    reflections-glitch.png
     
    #56
  17. Underserial

    Underserial Veteran Veteran

    Messages:
    81
    Likes Received:
    18
    First Language:
    German
    #57
  18. Leaufai

    Leaufai Veteran Veteran

    Messages:
    39
    Likes Received:
    20
    First Language:
    English
    Primarily Uses:
    RMMV
    Love the plugin. Would it be possible to add a wavy effect, perhaps through one of the pixi filters? That would complete the illusion of it being the reflection in water.
     
    #58
  19. TheCosmicSlug

    TheCosmicSlug Veteran Veteran

    Messages:
    46
    Likes Received:
    16
    Location:
    United Kingdom
    First Language:
    English
    Primarily Uses:
    RMMV
    would it be possible to specify which direction the reflection should face? for ponds in-front or to the side of the actor for example?
     
    #59
    Tonedawg181 and peq42_ like this.
  20. peq42_

    peq42_ Yeet Veteran

    Messages:
    465
    Likes Received:
    273
    Location:
    Brazil
    First Language:
    Portuguese(BR)
    Primarily Uses:
    RMMV
    Well it seems that this plugin wont have any updates, since the owner has not been seen since 2016...

    But anyway: I found one problem. If you change one water tile to be ground or something(to have it animated), reflection will show over it, and i couldn't find a way around it.
     
    #60

Share This Page