Frame Stop (Bug Fix)

felipefalcon

Villager
Member
Joined
Jun 11, 2014
Messages
20
Reaction score
35
First Language
Portuguese
Primarily Uses
RMVXA
Frame Stop (Bug Fix) by FelipeFalcon

Introduction


Certainly a lot of people must have noticed and not given much importance. (With small chars not make much difference, but it occurs)

This "little mistake" always occurs when you are walking, and collides with something. Not quite a mistake, but even stopped the char continues brightening until you reach the original frame (not busy).

With this script you can take it, I do not know if've probably somewhere or made sure to look but solve.

Sorry for my English. I am using a translator.


 

 

no-script:
 script:


 

 

How to use:

Place above "Main".

 

Demo:

Not required.

 

Script:


Code:
#______________________________________________________________________________#
#_ *Bug fix _ Frame Stop v1.3 _ by FelipeFalcon _______________________________#
#______________________________________________________________________________#
class Game_CharacterBase
alias update_stop_fix update_stop
def update_stop
update_stop_fix
if !passable?(@x, @y, @direction)
@pattern = @original_pattern if @step_anime == false and !moving? unless @move_route_forcing
end
end
end
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Nice, but I wouldn't put references to $game_player into Game_CharacterBase.


What if it's an event that's moving around? You don't want an event's update_stop to change depending on whether the player can move onto the next tile.

if !passable?(@x, @y, @direction)
Bad translator! I think "brightening" should be "animating" :)
 
Last edited by a moderator:

felipefalcon

Villager
Member
Joined
Jun 11, 2014
Messages
20
Reaction score
35
First Language
Portuguese
Primarily Uses
RMVXA
Nice, but I wouldn't put references to $game_player into Game_CharacterBase.

What if it's an event that's moving around? You don't want an event's update_stop to change depending on whether the player can move onto the next tile.

if !passable?(@x, @y, @direction)Bad translator! I think "brightening" should be "animating" :)
I've changed. XD

Worst I had tried to use @x, @y but for some reason the @direction was not.

I was trying to @d         :(

Thanks for the suggestion.

Warning: The stop can be a little "hard" if the speed of char frames is edited.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top