Save-Point
Gradient Fonts & Font extend - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: Gradient Fonts & Font extend (/thread-546.html)



Gradient Fonts & Font extend - Ramiro - 03-08-2010

Bitmap & Font expansion.


Description:
Well this scripts it's a nice one, it can work with XP and VX without any change. It makes new adds to Bitmap and Font Classes.
Its an scripter´s tool, not a 'plug & play' Script

Script:
Content Hidden

Screens:
Here there is a preview of what you can make with this
[Image: gradientee.png]

And the code for that:

Code:
class Window_Base
  #--------------------------------------------------------------------------
  # * Draw Name
  #     actor : actor
  #     x     : draw spot x-coordinate
  #     y     : draw spot y-coordinate
  #--------------------------------------------------------------------------
  def draw_actor_name(actor, x, y)
contents.gradient_draw_text(x,y,108,WLH,actor.name,Color.new(255,0,0),Color.new(0,255,0),0,false)
  end
end

crédits:
Me of course

FAQ
- I don't have any.

Ok I hope you'll like it, see ya!


Gradient Fonts & Font extend - amp - 03-16-2010

Scripting newb here; I was wondering how it would be possible to have the gradient in the text appear vertically instead of horizontally? Or would it even be possible?