Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sprite Reflection
#1
TDS Sprite Reflect

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Introduction

Well I was bored and decided to try and do this for VX. It's a reflection script that allows for characters to be reflected on the waters edge.

Features

Reflects the characters sprite on the water.

Script

"Script"


Instructions

Create "Areas" on the maps where the player walks and it will reflect below him, and remember to call those areas Reflect so that other normal monster areas wont reflect.

All characters must have Reflect as part of it's name in order to reflect.

Another small add on is the "/OFFSET[#]" that I added into event names.

Using "/OFFSET[#]" will change how far is the reflection is displayed from it's original starting point.

Example: NPC Name Reflect /OFFSET[15]

That will display the NPCs reflection 15 pixels below it.


Using this "$game_player.reflect_offset = #" you will be able to change the mains characters offset.

Example:

Using a call script you will be able to change the value of this variable.

$game_player.reflect_offset = 15

That will display the characters reflection 15 pixels below the original standing point.

If you wish to use the small wave effect on the water simple go this line on the script.

Code:
WATER_WAVE_EFFECT

And switch it's value to true or false

Example:

Code:
WATER_WAVE_EFFECT = true


Compatibility
None that I know of.

And as a small sidenote this is a a very early version of what I hope to finish as a good reflection script.

And yes... I know about the whole appearing in an instant thingy, I am working on it but keep getting stumped.

I'm just trying to get some feedback on it's usefullness and maybe some help calculating a more realistic effect of cutting the src_rect to create an entry and exit effect when starting to reflect.


Credits and Thanks
Well pretty much me TDS
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  [VX] 8-Directional Movement with Sprite Support 1.1 Kylock 0 2,349 04-24-2008, 01:00 PM
Last Post: Kylock



Users browsing this thread: