[Ace] Prexus Shadows Incompatibility issue

ZirconStorms

Veteran
Veteran
Joined
Dec 22, 2014
Messages
359
Reaction score
111
First Language
English
Primarily Uses
RMVXA

Attachments

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,660
Reaction score
563
First Language
English
Primarily Uses
RMVXA
Looks like the balloon script's update needed to be alias'd not super'd
Code:
  alias r2_update_b4kcs   update
  def update
    r2_update_b4kcs
#~    super
That's because both of those scripts are using Sprite_Character

Sixth is the best.
I forgot that it is it's own class that has the parent of Sprite_Character.
 
Last edited:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
Yeah, the balloon script uses Sprite_Character for the balloon display unnecessarily, which causes those shadows for the balloons to appear.
This snippet should prevent that from happening:
Code:
class Sprite_Remind < Sprite_Character

  def update_shadow
    # Removed...
  end

end
Not tested, of course. :p

@Roninator2
The super call is correct there actually, since that method is not defined directly in Sprite_Remind class. In these cases super should be used instead of alias.
Using Sprite_Character as the parent class is still unnecessary, lots of useless update methods will run for it, but still, super is the correct way there.
 

ZirconStorms

Veteran
Veteran
Joined
Dec 22, 2014
Messages
359
Reaction score
111
First Language
English
Primarily Uses
RMVXA
Yeah, the balloon script uses Sprite_Character for the balloon display unnecessarily, which causes those shadows for the balloons to appear.
This snippet should prevent that from happening:
Code:
class Sprite_Remind < Sprite_Character

  def update_shadow
    # Removed...
  end

end
Not tested, of course. :p

@Roninator2
The super call is correct there actually, since that method is not defined directly in Sprite_Remind class. In these cases super should be used instead of alias.
Using Sprite_Character as the parent class is still unnecessary, lots of useless update methods will run for it, but still, super is the correct way there.
Works perfectly, yeah. The farthest I had gotten to fixing the issue originally was removing the shadow once a balloon popped up, but this fixes the issue. Thank you to you both :)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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'??
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

Forum statistics

Threads
105,857
Messages
1,017,019
Members
137,564
Latest member
McFinnaPants
Top