• This is a simple plugin that adds a pause scene with a background image of your choice when you press a button on Scene_Map.
Features
• Pause the game by pressing a button when you are at the scene map(This also stops the $gameSystem.playTime()).
• Choose an image to show when the game is paused.
• It saves the current playTime(Graphics.frameCount/$gameSystem.playTime()) before you pause, and restore it after you leave the pause scene.
• Adds a screen button to be able to pause the game too.
• Play a common event when leaving the pause scene and return to the map.
How to use
To pause the game you can press the keyboard button you choose or the button on the screen.
To unpause the game, you can either press the keyboard button again or click/touch the screen.
The image of the on-screen button has to be a specific format that follows this aspect ratio:
Width: 1 | Height: 2
Ex:
Width: 100 | Height: 200
You can use the plugin command to pause the game manually too.
For MV you can use Eli.PauseGame.pauseGame()
Here is a list of the default keys of RPG Maker(Keyboard/Gamepad):
"tab", ■ Keyboard: tab
"ok", ■ Keyboard: enter, space, Z ■ Gamepad: A
"shift", ■ Keyboard: shift ■ Gamepad: X
"control", ■ Keyboard: control, alt
"escape", ■ Keyboard: escape, numpad0, insert, x
"pageup", ■ Keyboard: Q, pageup ■ Gamepad: LB
"pagedown", ■ Keyboard: W, pagedown ■ Gamepad: RB
"left", ■ Keyboard: left arrow, numpad4 ■ Gamepad: D-pad left
"up", ■ Keyboard: up arrow, numpad8 ■ Gamepad: D-pad up
"right", ■ Keyboard: right arrow, numpad6 ■ Gamepad: D-pad right
"down", ■ Keyboard: down arrow, numpad2 ■ Gamepad: D-pad down