Sprite Reflection

OrangeSage

Warper
Member
Joined
Dec 4, 2012
Messages
3
Reaction score
1
First Language
English
Primarily Uses
Btw this script is not compatible with Victor Sant's: Pixel Movement script. It will run but the reflection won't show up correctly.
Yeah im not using the Victor Sant's Pixel Movement script, or anything that the script would collide with... To be quite honest I'm rather stuck lol.
 

ShinGamix

DS Style 4Ever!
Veteran
Joined
Mar 18, 2012
Messages
3,905
Reaction score
451
First Language
April Fools
Primarily Uses
N/A
I have a few questions because I am interested in using this script.

  1. Does this script work when in vehicles over water?
  2. Does it reflect in windows and other glass?
  3. Can i make events such as on screen enemies and objects have reflections too?
  4. Is this compatible with any of the lighting scripts?
  5. Is it at all mode 7 compatible?
  6. Will it work on Parallax Maps?
 
Joined
May 21, 2012
Messages
83
Reaction score
4
First Language
English
Primarily Uses
So I was looking through your script, and I am very confused about several things in your Sprite_Character_Reflection class. You have method definitions for update and dispose that do nothing but call super. Wouldn't that just be incredibly inefficient by just adding another message send into the method?
 

OrangeSage

Warper
Member
Joined
Dec 4, 2012
Messages
3
Reaction score
1
First Language
English
Primarily Uses
I have a few questions because I am interested in using this script.

  1. Does this script work when in vehicles over water?
  2. Does it reflect in windows and other glass?
  3. Can i make events such as on screen enemies and objects have reflections too?
  4. Is this compatible with any of the lighting scripts?
  5. Is it at all mode 7 compatible?
  6. Will it work on Parallax Maps?
A quick answer to your questions would be:

1. Yes.

2. No.

3. Yes.

4. Not sure, although I have seen a couple of posts from people regarding compatibility problems with other lighting scripts.

5. Not sure.

6. Not sure.

Sorry I'm not much help, I'm a bit of a noob with Ruby and RPG Maker VX Ace :p
 

ShinGamix

DS Style 4Ever!
Veteran
Joined
Mar 18, 2012
Messages
3,905
Reaction score
451
First Language
April Fools
Primarily Uses
N/A
Nice you had some of the naswers. Maybe the others could be features in future versions!
 

Noir

Cookiechan
Veteran
Joined
Aug 22, 2012
Messages
111
Reaction score
1
First Language
Russian
Primarily Uses
link(demo) is incorrect=_=
 
Last edited by a moderator:

Dayski

Warper
Member
Joined
Jan 6, 2013
Messages
1
Reaction score
0
First Language
Slovenian
Primarily Uses
Is this script compatible with pixel movement made by khas?

I'm using pixel movement and the reflection sprite shows up right after when i'm near the water.

Here's the screenshot:

 

SuicideToro

Veteran
Veteran
Joined
Jan 19, 2013
Messages
39
Reaction score
1
First Language
English
Primarily Uses
I'm getting a "Line 344 TypeError, nil can't be coerced into Fixnum" sort of error. I wonder what's the problem...
 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
954
Reaction score
520
First Language
Javascript
Primarily Uses
RMMZ
Cool script :) but....



How can I make it so that the sprites reflection in underneath the other events/vehicles? :unsure:

Why is does the sprite reflection face the wrong way when facing left or right?


Could I make the vehicles display there reflection also? I thought I could but I don't know how.

Also I was wondering if there could be an update in the future that would check different directions (not just down) and be able to reflect the sprite in other directions based on that direction.
(eg. Mirror on wall = sprite reflection would be upward, facing up would show the front, down shows the back, etc.).

Thanks for such a nice script. BD
 
Last edited by a moderator:

KanaX

Just being a sleepy
Veteran
Joined
Apr 3, 2013
Messages
1,455
Reaction score
1,297
First Language
Broken English.
Primarily Uses
N/A
Hey TDS, that's an awesome script and very easy to use! Kuddos!
If you can listen to my problem.  I'm trying to use the script to make mirror tiles (by using glass/ice tiles).
The problem is that your script is made for water reflection and will only reflect the character from the lower tiles,

while I need it to reflect the character from tiles "above" the character. I' ll include a photo explaining. Could you tell me how to alter the script to manage this or perhaps update the script??? Thanks! Άτιτλο.png
 

wltr3565

Veteran
Veteran
Joined
Sep 20, 2012
Messages
35
Reaction score
5
First Language
Indonesian
Primarily Uses
I'd say this is a very nice script. But my main concern is the script's terms of use, particularly on this part:

Do not release, distribute, edit or change my work without my expressed written consent, doing so violates the terms of use of this work.
I'm using your script here, and it gives double shadows, conflicting with my other script, as depicted below:
The problem probably located on your script here, and I wish to edit it (at least by giving it a seperate patch). I'm afraid of other possible bugs that results from my own made scripts, as well.

So may I (or we) edit your script, explicitly or implicitly? I do see this thread isn't receiving any response from you for a pretty long time, TDS. I hope you can respond. Thanks.
 

Rave

Veteran
Veteran
Joined
May 10, 2013
Messages
99
Reaction score
29
First Language
Polish
Primarily Uses
There's problem with this script: Reflections aren't affected by screen tint, so on dark maps it looks weird. Can you fix that?

Yes, I registered here just to say this.

Also: Feature request: Can you add boolean constant that when true would instead of turning on reflections for events with [Reflect] in their name will turn OFF collisions for events with [NotReflect] in their name? This will help to integrate this script in already developed projects with lots of town events (usually you want to make those reflected by default). Even in your own demo game it would make more sense to name ghost [NotReflect] Ghost than name other folks [Reflect](something).

I can do this modification on my own ("[NotReflect]" thing, not fixing issue with screen tint - latter is outside of my ability scope), problem is do I have your permission to do so?

//edit: Typos. Sorry 'bout that :)

//edit #2: Example of error I'm talking about:

Also other feature request: Could you make it so we could set tiles with specified terrain tag to be reflected like events? For tiles like benches, lamps or trees that sort of thing makes sense.
 
Last edited by a moderator:

bentleym33

Veteran
Veteran
Joined
May 30, 2013
Messages
32
Reaction score
4
First Language
English
Primarily Uses
I'm getting a "Line 344 TypeError, nil can't be coerced into Fixnum" sort of error. I wonder what's the problem...
I got this too, and it seemed to happen when I tried loading a game that was saved before using this script. In other words, I started again and it worked fine.

And I know TDS hasn't responded in a while, but is there a way to offset the reflection for one specific event. I have a swan swimming around in a river and the reflection is about a whole tile below it. If I change the offset on the notes then the reflections for all the characters wont look right. I just want to move the reflection up so it's right under the swan.

Also, is there a way to set the reflections priority so that things like toadstools and those little wooden walkways don't have the reflection on them?

Cheers!
 
Last edited by a moderator:

CyberAngel08

Warper
Member
Joined
Sep 29, 2013
Messages
2
Reaction score
0
First Language
English
Primarily Uses
I've tried (and worked) the script and LOVE it so much!

But question: do the reflections only work on the North of the water form and not in any other side (East, West, South)?
 

I tried

Warper
Member
Joined
Nov 30, 2015
Messages
2
Reaction score
0
First Language
english
Primarily Uses
Hello, I really wish to use this, but no one has been clear on how I actually use it

I don't even know where or how to put this into the project to make it work, please guide me through
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
The instructions on how to use are in the script header.  You need to read the comments there to see how to set it up.

As for how to even add the script to your project, please follow the link in my signature to the beginners' scripting guide.
 

Peddler Games

Warper
Member
Joined
Jun 11, 2016
Messages
3
Reaction score
0
First Language
English
Primarily Uses
I downloaded the script but the reflection shows on top of any pictures I display. How can i fix this?
 

NightHerald

little demon child
Veteran
Joined
Aug 20, 2016
Messages
42
Reaction score
39
First Language
English
Primarily Uses
Um... I know this is very old, but I was wondering if it's possible to adjust the y positions of individual events (not of the water tiles themselves).


You can see my problem in this screenshot:

reflections screenshot.png

The character sprites are okay, but the ducks and the fountains, which are directly on the water, have too big a space between the event and it's reflection.


Also, the player sprite's reflection shows up even though the fountain should block it, or be on top of it.


Is there any way to fix this?


And thank you so much for making this, it gives great aesthetic appeal. <3
 
Last edited by a moderator:

monkeyintartan

TartanMonkey
Veteran
Joined
Nov 13, 2013
Messages
195
Reaction score
122
First Language
english
Primarily Uses
Unfortunately the links don't seem to lead to anything anymore :(
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top