Status
Not open for further replies.

BluSoulFyre

Villager
Member
Joined
Apr 22, 2016
Messages
14
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Hi, I wasn't sure where to post this so I'm sure I'll get the movement soon.

I can't for the life of me figure out how to disable the 'squish' animation that RPGVXA does whenever a window opens and closes. I've used common events to change the style of the window based on who is speaking, so the 'flow' is interrupted (causing the engine to think it's a new conversation and opens the window again) and it looks really clunky. It would look better to disable the animation completely and just have the window appear out of nothing.

I found this https://rpgmaker.net/forums/topics/23234/ but either I can't figure out where to put it, or it still causes the 'squish' animation, just faster.

A plus for me would be if someone could swap out the 'squish' for a fade instead, but looking that up brought me nowhere either. I'm not even sure if this is possible, but I figured I'd throw it out here.

At this point I'm assuming it would take a custom script, but altering Window_Message could do it too, I just haven't been able to do it without breaking something.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,137
Reaction score
709
First Language
English
Primarily Uses
RMVXA
Ruby:
class Window_Base < Window
 
  def update_open
    self.openness += 255
    @opening = false if open?
  end

  def update_close
    self.openness -= 255
    @closing = false if close?
  end
end
class Scene_Menu < Scene_MenuBase
  def transition_speed
    return 0
  end
 
  def terminate
    super
    Graphics.transition(0)
  end
end
credits to A-Moonless-Night
 

BluSoulFyre

Villager
Member
Joined
Apr 22, 2016
Messages
14
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Ruby:
class Window_Base < Window

  def update_open
    self.openness += 255
    @opening = false if open?
  end

  def update_close
    self.openness -= 255
    @closing = false if close?
  end
end
class Scene_Menu < Scene_MenuBase
  def transition_speed
    return 0
  end

  def terminate
    super
    Graphics.transition(0)
  end
end
credits to A-Moonless-Night
Yeah I think that's from the link I had found but it's not clear where to put it. Do I just add it in somewhere specific in Window_Message or replace a section of the code with this?

I had tried putting it in Window_Message above, after, and replacing it. Also tried putting it in its own script category above and below. In all situations it either didn't work or it only made it open and close slightly faster... I have no idea where I'm supposed to place it.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,137
Reaction score
709
First Language
English
Primarily Uses
RMVXA
I have no idea where I'm supposed to place it.
So you have never used scripts?
Follow the link in my signature block for using scripts.
Basically all custom scripts (unless you know what you're doing) go below materials and above main.
 

Thefirelion

TheFireLion Game Studio
Veteran
Joined
Mar 25, 2017
Messages
130
Reaction score
43
First Language
Spanish
Primarily Uses
RMVXA
DO NOT alter the base scripts, put it in an empty slot in the custom scripts section. Place this script below all scripts that use written classes and methods, but above main.
 

BluSoulFyre

Villager
Member
Joined
Apr 22, 2016
Messages
14
Reaction score
0
First Language
English
Primarily Uses
RMVXA
So you have never used scripts?
Yes, I have, quite frequently. It's just this one wasn't clear if I was supposed to alter the base script or add it to customs like Thefirelion said.


DO NOT alter the base scripts, put it in an empty slot in the custom scripts section. Place this script below all scripts that use written classes and methods, but above main.
Thanks, don't know why I didn't try that first.

I'll close this for now, probably more of a Script Help thing at this point.
But this is how to remove the effect, if anyone has a toggleable fade effect to replace it, please message me.
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,906
Reaction score
4,831
First Language
EN, FR
Primarily Uses
RMMZ

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Working on a slightly experimental horror game. It will be finished in approximately 88888888888 years.
Y'all will enjoy it though, I put lots of effort into making it stand out.

It's called Red Light and it's inspired by another obscure RPG Maker horror game, but I don't want to give too much away just yet.
Ohh man, Weapon animations plugin feels so mandatory. Seeing that same image regardless of the icon of the weapon....ugh :p
Ok so......Maaaaybe I've taken a ''little'' bit of inspiration from FF9 when it comes to battle hud xD

ff9.PNG

Just maybe....
New version of my wife's art for Tundra's opening map. No new version of Katrina yet, but I think this looks awesome.1624062754755.png

Forum statistics

Threads
112,354
Messages
1,067,706
Members
146,002
Latest member
Raytoly
Top