Graphic Glitch??????

Posted by ziad87
***THIS MESSAGE WAS ORIGINALLY FROM "Getting Started" Sorry about the confusion!***
Hey Size43!

Is this a graphical glitch??? As when I try to draw text it appears black when I SPECIFFICLY set it to c_white!
The method I use is to draw SPRITE fonts not regular fonts so, at the Game Start event I put this:
[code]
global.font = font_add_sprite_ext(spr_spritefont,'!"'+"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~",1,-1)
[code/]
and then this at the draw event:
[code]
draw_set_font(global.font)
draw_text(view_xview[0],view_yview[0],message)
[code/]

Replies (3)

Last message on 6 Jan 2017

Size43 (Administrator) on 6 Jan 2017, 10:00:57
This does not seem to be a GameMaker Server issue, and as such I'm not able to help.

That said, make sure spr_spritefont has white letters, not black ones.

I'll go ahead and remove your other post.
ziad87 (Topicstarter) on 6 Jan 2017, 11:06:43
Thanks A LOT Size43 Anyways!
ziad87 (Topicstarter) on 6 Jan 2017, 11:10:57
I think I know why, When I call
gms_init(obj_persistent)

It sets the color back to black! So maybe I should just call
draw_set_color(c_white)

again!
Thanks A lot again Size for this awesome plugin/extension!