Jump to content


Photo

Pausing


  • Please log in to reply
1 reply to this topic

#1 hunter1833125

hunter1833125

    GMC Member

  • Validating
  • 3 posts
  • Version:Unknown

Posted 02 May 2012 - 12:01 AM

I can pause using

{
draw_set_font(score_font);
draw_set_color(c_red);
draw_set_halign(fa_center);
draw_text(room_width/2,100,'Game Paused. Press any key to continue.');
screen_refresh();
keyboard_wait();
io_clear();
}

in Game Maker 8.1, but in Studio screen_refresh() is obsolete. Are there any replacement functions?
thanks :thumbsup:

Edited by hunter1833125, 04 May 2012 - 12:45 AM.


#2 Mr. Munchkin

Mr. Munchkin

    GMC Member

  • GMC Member
  • 717 posts
  • Version:GM:Studio

Posted 07 May 2012 - 05:29 AM

Umm. I'm not quite sure, but doesn't obsolete mean [/i]no longer useful[/i]? Which would make me assume that Game Maker Studio automatically refreshes the screen for you?
I'm not 100%, just taking an education guess, someone correct me :)

Otherwise, there's loads of different ways to pause the screen, take a look at some examples.
And welcome to the GMC :)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users