Today, I was finally able to center the text of the pause button. The script I used was this:
draw_text(view_xview[0]+view_wview[0]/2,view_yview[0]+view_hview[0]/2,"Game Paused")
in replacement of this script:
draw_text(room_width/2,room_height/2,"Game Paused");
draw_set_halign(fa_center)
The new script is basically a compressed version of the older one and fortunately this one actually works.
No comments:
Post a Comment