• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Sprite font 'space' issue

K

kilnakorr

Guest
Hi

I'm having some difficulties using afcustom sprite based font.
Everything works fine, except for the space between words.

I've added a simple white line, but seems this only works some places, which really confuses me:

I have this in a draw event:
draw_text_transformed(x+190,y+280,"JINGLE BELLS",0.3,0.3,0);
draw_text_transformed(x+190,y+330,"JUL I ANGORA",0.3,0.3,0);
draw_text_transformed(x+190,y+380,"JINGLE BELLS ROCK",0.3,0.3,0);

For some reason the output becomes:

JINGLE BELLS
JUL I ANGORA
JINGLE-BELLS-ROCK

Any ideas why the white-tripe, from the 'space'-sprite is shown in some cases?
 

TheouAegis

Member
....no idea. Since i'm the one that tipped people off to the white stripe, I would have said somrlething if I noteced that.

Itcould be the size of the string, since I used fairly shortstrings too... Try just a normal draw_text() and see if the lines still show up.

Try a black line too.
 
Top