Draw Text with Shadow gamemaker

obj_example:

create event:

text="This is some random text to show a shadow of text.";//set text to draw

draw event:

draw_set_font(font_example);//set the font to use
draw_set_colour(c_black);//set the colour for shadow
draw_text(40-1,40-1,text);//draw text offset
draw_set_colour(c_red);//set draw colour
draw_text(40,40,text);//draw top main text

No comments:

The Win Machine

The Road to Hell is Paved with Intervention ͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏    ...

Contact Form

Name

Email *

Message *