D
dcx
Guest
Hi,
I only want to show a message and pause the game as the command show_message does. But my game will be played with a controller and i don't find a way to "click" on OK to remove the show message. Maybe it's not possible. There is a simple way to show a message and wait a button to be pressed?
For exemple, a rock paper scissors games, show the winner, then continue.
I only want to show a message and pause the game as the command show_message does. But my game will be played with a controller and i don't find a way to "click" on OK to remove the show message. Maybe it's not possible. There is a simple way to show a message and wait a button to be pressed?
For exemple, a rock paper scissors games, show the winner, then continue.
GML:
if(global.choiceP1 == 1) && (global.choiceP2 == 1){
switch wait_script() {
case 1: wait = 60; break
case 2: global.choiceP2=0;
global.choiceP1=0;
show_message("Equality");
global.animationP2=99;
global.animationP1=99;
global.game=1;
state_code = 0;
break
}
}