Jump to content
TheoAllen

YEA Victory Aftermath addon - Icon as Arrow

Recommended Posts

Required script : Yanfly Victory Aftermath

 

Have you ran into a problem where if you want to use custom font and suddenly the right arrow '→' didn't render correctly in Yanfly Victory Aftermath?

 

Sample image

10447636_964784176871086_594128999337205

 

One of the way is to lock your dream up and use another font that supports right arrow. But hey, there's an alternative actually. You can easily replace the right arrow character with any icon you have. Now the result would be like this

 

10151179_965007186848785_525771690374508

 

All you need to do is just plug this script below Yanfly Victory Aftermath

class Window_VictoryLevelUp
  IconIndex = 140
  
  def draw_arrows
    dx = contents.width / 2 - 12
    dy = 0
    for i in 0..8
      draw_icon(IconIndex, dx, dy)
      dy += line_height
    end
  end
  
end

No credit required. I just sharing my little snippet

Share this post


Link to post
Share on other sites

This is awesome, I was having this issue with one of my little projects, but didn't want to change the font (plus I really don't understand how to change fonts scene to scene).

 

This is much nicer, and easier to use :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted