1. Hey! Guest! The 35th GMC Jam will take place between November 28th, 12:00 UTC - December 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

Text Shadow

Discussion in 'Tutorials' started by SP1D3R, Mar 28, 2017.

  1. SP1D3R

    SP1D3R Member

    Jun 20, 2016
    GM Version: All
    Target Platform: Windows, but probably all
    Download: see text below
    Links: na

    Maybe some people can use this little script i created last night.
    It will transform your text with a simple shadow effect.
    Save this script as draw_text_shadow
    /// draw_text_shadow(x, y, string, font, shadow_size, shadow_colour, text_colour);
    var _x, _y, _string, _font, _shadow_size, shadow_colour, text_colour;
    _x = argument[0];
    _y = argument[1];
    _string = argument[2];
    _font = argument[3];
    _shadow_size = argument[4];
    _shadow_colour = argument[5];
    _text_colour = argument[6];
    draw_text((_x + _shadow_size), (_y + _shadow_size), string(_string));
    draw_text(_x, _y, string(_string));
    Have fun with it!
    Last edited by a moderator: Mar 29, 2017

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice