TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
538
Reaction score
991
First Language
French (Canada)
Primarily Uses
RMMZ

TSR_Mirror_Title.png
Author:
TSR
Download:
TSR_Mirror

Use either map region Id or Terrain tag to mark tiles as mirrors. These tiles will reflect player, followers and events.



Code:
===========================================================

ToU:

Use in any independant RPG Maker MZ or MV projects, including commercials.

Credit is required for using this Plugin. For crediting, use 'TSR' along with one of the following terms: 'The Northern Frog' or 'A frog from the north'

Do not change the Header or the Terms of usage.

DO NOT REDISTRIBUTE! If you want to share it, share the link to my itch.io account:  https://the-northern-frog.itch.io/

Sending me a copy of your completed game using my plugin would be appreciated,  but there's no obligation.

===========================================================

Regards!
TSR
 

QuexpRPG

QUEst EXPlorer :)
Regular
Joined
Jun 18, 2018
Messages
665
Reaction score
1,472
First Language
English
Primarily Uses
RMMZ
Wow - I look forward to trying this out! Thank you for sharing with us. :LZSexcite:
 
  • Like
Reactions: TSR

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,183
Reaction score
3,426
First Language
Dutch
Primarily Uses
RMMV
even though (for MV) has some nice mirror plugins, but also a bunch of text/code required to set up,
this one is smooth, but also very easy to setup.

the big positive side, while 50%-75% is required (also tested), you can play around and more control
how far it is visible.

personally, playing around 30%-50% give better results than 50%-75% but both can be used nicely:

on ice (light blue or white): use 60-70% for the nicest effect
clean mirrors: 30-40%
dirty mirror1: 65-75%
dirty mirror2: 75:80%
true mirror reflection: 90%-94%
replicate! : 100%
ghost wanderer (self image): 70% - 90%

the last one is kinda funny, but I wont tell much on it, this is something you can figure out.
I was able to do it with getting 4 images at the same time!

as for the rest, is personal referece, but play around those numbers for a nice effect.
in overal, it's a nice and effective plugin, but also, the easiest to use and more control
on HOW it is shown, while most plugins use alot of code in trying to omit that.

I also love the control how mirrors reflect, where others have a fixed transparancy, this one
is on your choice entirely, if it's Ice, Mirror, Clone, or other creative way =)

if I would recommended a mirror plugin from smooth and easy to use and effective, it would
be this one for sure.

What can I say? easy to use is less time consuming than a bunch of code needed to setup up
for 1 actor or animal on their own transparancy, this is 1 sweet loving plugin. keep up the
amazing work, I love your plugins from A to Z =)
 
  • Love
Reactions: TSR

TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
538
Reaction score
991
First Language
French (Canada)
Primarily Uses
RMMZ
Thank you @ShadowDragon for the great review and comments :cutesmile:
I see you have tested it extensively :thumbsup-right:
Good job and nice ideas!
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,183
Reaction score
3,426
First Language
Dutch
Primarily Uses
RMMV
I tested it roughly 80% and quickly as well, but it's still one of the easiest I ever used :)
also the compability with other plugins are also a bit higher that it doesn't crash or gives errors :)

while my preview is personal reference, it can help others to try on those settings,
every part is different though, but what I didn't test yet is with tinting, when it is darker how it will
look it by than.

Like, in daylight, it is visible, but when it become dark, you dont want to see much, this is not tested
yet, but there might be ways to get that done nicely as well =)

keep up the nice work, saves also alot of time settings this up like in others, this way is something
I didn't come up with :)
 
  • Like
Reactions: TSR

TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
538
Reaction score
991
First Language
French (Canada)
Primarily Uses
RMMZ
Yep, it's mostly original objects and methods, and it doesn't overide any default functions, so I guess it should be compatible with pretty much anything.
Thanks again! :rock-right:
 

TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
538
Reaction score
991
First Language
French (Canada)
Primarily Uses
RMMZ
Hello all!
First update on that plugin: there was a slight delay between characters and their reflections. I made a few changes in the code and now it's fixed.

 

DarkFenix

Regular
Regular
Joined
Dec 3, 2018
Messages
82
Reaction score
21
First Language
Portuguese
Primarily Uses
RMMZ
Hello, I'm having this error:

screenshot.png

Apparently it is an incompatibility with the VisuStella StateTooltips plugin,
already tried to change the plugin position but it doesn't work.
 

TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
538
Reaction score
991
First Language
French (Canada)
Primarily Uses
RMMZ
Hello, thanks for reporting!
Download last version and see if it happens again.

TSR_Mirror

Thank you.
 
Last edited:

Underserial

Regular
Regular
Joined
Dec 9, 2015
Messages
144
Reaction score
32
First Language
German
Is there a plan to "easy" this plugin a little bit up.
Because every tileset edit costs time.

I would prefer a solution that u only set a region id for example and mirroring is staring.

Second question ist, are there plans to support water mirroring like not walking over walker, more like standing in front of a lake and its mirroring the charset. And will this plugin support taller characters like shown in the examples?

Example for first question

1614357785510.png


Example for second question
1614357745457.png
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,183
Reaction score
3,426
First Language
Dutch
Primarily Uses
RMMV
@Underserial as for your second question, I know it's doable if above, not below, but it might need another
region or tiletag number in order to mirror down, but for tall characters, I dont know, I can test it real quick
if that part is working though, but tileset editing is more control how far the reflection will be and aren't "fixed"
that can be a disadvantage in some cases.

EDIT:
It does work for tall character, but it doesn't look nice when exacly in front, but might be in a mirror, but as
the mirror door, it need to shift up a bit to look nice.
 

TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
538
Reaction score
991
First Language
French (Canada)
Primarily Uses
RMMZ
Hello @Underserial. Thanks for your comments.

Is there a plan to "easy" this plugin a little bit up.
Because every tileset edit costs time.
Unfortunately, no. I personnally think it is very easy to use. Selecting part of a tile and lower its opacity is quite simple and doesn't take that much time. Even more easy if your mirrors are square window like in you first screen shot; this should be like a 30 seconds edit... Please note that all my plugins are developped for my personnal use in my projects, and I'm very pleased about how this one works.

Second question ist, are there plans to support water mirroring like not walking over walker, more like standing in front of a lake and its mirroring the charset.
Like @ShadowDragon explained, the plugin already do that, but from the other way around (when the character stand on the bottom border of a lake, reflection will appear on the tile above). I've already plan to add some option to set the rotation angle of the reflection, so it could be setted in any way.

And will this plugin support taller characters like shown in the examples?
I would tend to say yes, and @ShadowDragon already tested that for us, and yes it works. It probably doesn't look so good because sprite position is optimized for the regular character set, but as I said above, I will add more options to set x, y reflection position relative to the character, rotation angle, level of blurred effect and some other effect I'm currently working on...

Stay tune for the next update,
regards!
 

Underserial

Regular
Regular
Joined
Dec 9, 2015
Messages
144
Reaction score
32
First Language
German
ok i get it =)
heres the result with your plugin.

1614523551022.png
The mirroring is good - but the "starting" point is not correct.
It should be on tile up.
1614523591719.png
as u said u can do this with offset settings i guess.



The water reflection worked but also not as "good" as with the normal tiles high.
1614523762194.png
 

TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
538
Reaction score
991
First Language
French (Canada)
Primarily Uses
RMMZ
Hello! Here's the new update.

I've added parameters for the floor mirror settings. Now you can set the x and y offset of the floor reflection relatively to the character, change the reflection sprite angulation, blur effect intensity and opacity. The floor reflection sprites now comes with a slight asynchronizated pulsation animation to mimic water movement; it can be enable/disable with a parameter.

Additionnaly, the plugin provide a map notetag, so specific floor mirror settings can be attributed to some maps. The settings specified by the map notetag will overide the parameters settings in the map having the notetag.

There's x and y offset parameters for the wall mirrors too.

@Underserial These params should let you set the reflection effect to your liking.

Regards.
TSR B)
 

Underserial

Regular
Regular
Joined
Dec 9, 2015
Messages
144
Reaction score
32
First Language
German
after testing this looks pretty dope!
The question from my site which is left, why i need to do the opacity on the tiles?
Can u tell me why this is needed?
I think now that im used to it, its no problem to do it, but is it not easier for the plugin that it mirrors the sprite and doesnt care about the opacity?
Im asking this because if u use for example windows not a real mirror u will have the problem with half "tiles"

see this:
1614547909126.png
1614548244093.png
1 = normal window with not edges left
2 = window which has transparent edges left

The background will always be black because u can not fill those areas.

1614547948212.png
i hope u get the point. Thats why i was asking if not only mirroring the sprite without the opacity and transparent tiles.

But overall i really really enjoy this plugin - great work!

1614547239759.png

Edit 2:

i found after testing this behavior.
Is this intended or a bug?

1614548499381.png1614548478256.png

I didnt set the region id for the left quarter but its mirroring.
Why is then the region id needed when all the transparent blocks doing the mirroring?
 

Attachments

  • 1614548496773.png
    1614548496773.png
    15.1 KB · Views: 0
Last edited:
  • Like
Reactions: TSR

TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
538
Reaction score
991
First Language
French (Canada)
Primarily Uses
RMMZ
Hello.
The reason is simple: reflection sprites are generated at z index -0.5, that is bellow every tiles layers, but above parallaxes (parallaxes can be used as background for your mirror (see the demo video).

Of course the reflection sprites appears 1 tiles before the mirroring tiles, this way when you approach the mirror the reflection sprite 'walk' into the mirror instead of just poping into it. Those tiles around the mirror are supposed to be covered by tileset, so only the mirroring part which have lowered opacity allow the reflection sprite to be visible.

edit: btw, I think it would look better if you only lower the opacity of the glass part of your window, leaving the window frame at full opacity.
 
Last edited:

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,183
Reaction score
3,426
First Language
Dutch
Primarily Uses
RMMV
@Underserial
Black background can be avoided as well if you do it smart (I have no troubles with it).

also, image opacity is more usefull than a bunch of code to set opacity with lower control like this:
(my post for personal reference #4)

but if you use compleet transparant and tile, it will show, so not really a bug, but nicely done on hte mirror images you post.
 

Underserial

Regular
Regular
Joined
Dec 9, 2015
Messages
144
Reaction score
32
First Language
German
@Underserial
Black background can be avoided as well if you do it smart (I have no troubles with it).

also, image opacity is more usefull than a bunch of code to set opacity with lower control like this:
(my post for personal reference #4)

but if you use compleet transparant and tile, it will show, so not really a bug, but nicely done on hte mirror images you post.
how did u do it with the black background when having tiles which are not filling the hole part?
 

Latest Threads

Latest Posts

Latest Profile Posts

S961pus.gif


Me every time I leave my 11am class. I'm not a morning person.
Curiosity kills cats. Not people. Remain ever curious!
"You dont have to negotiate if they dont have a hostage" :kaopride:
sketch1701194888871.png
Spiffing up maps is actually a lot of fun.
So the concept for my Game Jam project is way more than I can complete before the deadline. But I think I found a way to get the core done and make the incomplete parts either not really noticeable or make them a part of the story for now. That sneaky, dastardly Krampus! Then I can complete the rest. Did I mention that this is fun?

Forum statistics

Threads
136,551
Messages
1,267,455
Members
180,226
Latest member
Stormswinds
Top