Hello, I have a doubt. I have been testing for a while and I didn't get to take a picture of the game and use it as a Background or Sprite for a pause menu.
I tried with surfaces, but screen_redraws doesn't work well. I tried with sprite_add and screen_save but GMS can't add external sprites, the same with sprite_create_from_screen, it doesn't work for me.
I'm out of ideas, do you have any?
Thank you very much!
Take a screenshot?
Started by Exe_Mas, Mar 09 2012 12:52 AM
2 replies to this topic
#1
Posted 09 March 2012 - 12:52 AM
#2
Posted 09 March 2012 - 01:42 AM
Why not just try using a 'pause' thing for every object?
Something like that. I mean, of course, make sure that every object knows what to do with that variable and such. Depending on the type of game you're making, this is much better than taking a screenshot and pausing.
EDIT: Errr thinking about it more than half a second made me realize that the above thing is really inefficient.. just use a global variable or something, haha. Like 'global.pause=1'
with(all){
pause = 1;
}
Something like that. I mean, of course, make sure that every object knows what to do with that variable and such. Depending on the type of game you're making, this is much better than taking a screenshot and pausing.
EDIT: Errr thinking about it more than half a second made me realize that the above thing is really inefficient.. just use a global variable or something, haha. Like 'global.pause=1'
Edited by cotycrg, 09 March 2012 - 01:43 AM.
#3
Posted 09 March 2012 - 03:14 AM
Yes, is a good idea, but I have to program the engine all over again for only a single screenshot hehe... maybe if I can't find a solution, I will made a "special pause menu", it's not as cool as a I want, but cool enough lol.
Does anybody have another idea? Thank you so much!
Does anybody have another idea? Thank you so much!
Edited by Exe_Mas, 09 March 2012 - 03:18 AM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











