B
bushrat
Guest
I'm trying to display a division sign in my game by using the chr() method. Here is an extract of the code:
question[0] = "17 "+chr(247)+" 9 = ";
...
draw_set_font(fnt_large);// setting up the font
draw_set_halign(fa_center);
draw_text(x,y-10, question);
...
show_message("Incorrect the answer is " + question+" "+answer+" you typed "+ string(ans) );
the message box displays the division sign but the draw_text() method results in a space where the sign should be. I'm using an arial font, not sure if this is the problem, but the problem persisted when I commented that line of code out. Perhaps someone can suggest another font that will work?
question[0] = "17 "+chr(247)+" 9 = ";
...
draw_set_font(fnt_large);// setting up the font
draw_set_halign(fa_center);
draw_text(x,y-10, question);
...
show_message("Incorrect the answer is " + question+" "+answer+" you typed "+ string(ans) );
the message box displays the division sign but the draw_text() method results in a space where the sign should be. I'm using an arial font, not sure if this is the problem, but the problem persisted when I commented that line of code out. Perhaps someone can suggest another font that will work?