Here:
http://pastebin.com/raw.php?i=xnzWE4RZ
That's my edited version of his script, I changed the float around and made the breathe effect a tiny bit more noticeable.
Hey Euphoria! Tanks a lot. The breath effect is perfect, but the float... It´s better than older version but the up and down motion it´s too rough... I´ve modified a little the script for the float move up and down positions for higher float effect, and the move is... UP!...DOWN!...UP!... Like a switch :p
I´ve got a idea but a don´t know how to make it... My idea is... Instead of a random number for "@float_duration" put a time operator ("@float_up_time" and "@float_down_time" in example) . So, from time "0" to time "x" coord Y increases by "x" pixels and then decrease time and coords, and start the second timer to down... I think this would make the motion more smooth.
The timers can have random maximums to go up and down...
I hope I explained clearly, thank you very much for your time and effort. And thanks for answering.
EDIT:
I´m not scripter but i love to make experiments... Right now those are the results:
Basically I´ve copied the Moveside Formula...
Line 134, added "@oy_offset = 5"
#--------------------------------------------------------------------------
# ● Float Effect Setup
#--------------------------------------------------------------------------
def float_effect_setup(battler)
@oy_offset = 5
@float_duration = rand(40)
@float_speed = rand(3)
end
And, at line 205... Replace "● Update Float Effect" with this one
#--------------------------------------------------------------------------
# ● Update Float Effect
#--------------------------------------------------------------------------
def update_float_effect
update_ox
update_oy
return if @battler == nil
return unless @battler.float_effect
# @float_speed += 1
# return if @float_speed < 2
@float_speed = 1
@float_duration += 1
case @float_duration
when 0..40
@oy_offset += 2
when 41..80
@oy_offset -= 2
else
@float_duration = 0
end
end
Now, the up and down move is so smooth, And the speed, for me is perfect now, test yourself, and hope it helps you. No credits, Thanks!!