Eli Pause Game - Works like the old retro games!

ysE9Vml.png

Author: Hakuen Studio​

Introduction

• 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 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.

How to use

• You can choose an image from your system folder. Make sure it is the size of your game resolution. You can also not use any image.
• Check out this site to find your desired javascript keycode:
https://keycode.info/

Terms of Use

https://www.hakuenstudio.com/rpg-maker/terms-of-use


DOWNLOAD
Eli_PauseGame.js
​
Update Log
Spoiler
Version 1.4 - 01/04/2021
- Add common event to play when leaving Scene pause.
Version 1.3 - 09/26/2020
- You can click or touch the screen to unpause/resume the game.
Version 1.2 - 08/27/2020
- Add plugin command to pause the game.
Version 1.1 - 08/22/2020
- Code restructuring.
Version 1.0 - 08/07/2020
- Plugin release!
hey whats the JavaScript I need to put in a common event to trigger p , please?
Update!
Version 1.2 - 08/27/2020

- Add plugin command to pause the game.

hey whats the JavaScript I need to put in a common event to trigger p , please?
Please download the version 1.2 and use the plugin command:
PauseGame

Alternativelly, you can use a script call:

$pauseGame.setState(true);
awsome . thankyou! any way you could make a clickable button to get out of scene_pause? im making a mobile game and it wont let anything be clicked when on pause scene.
awsome . thankyou! any way you could make a clickable button to get out of scene_pause? im making a mobile game and it wont let anything be clicked when on pause scene.
Nice suggestion! I will work on that ^^
Update!
Version 1.3 - 09/26/2020

- Now you can click or touch the screen to unpause/resume the game.
soooo MV bug report . When you click on screen to unpause. the tint is left on screen when blur background is set to false.
Hi there!
Can you test it on a fresh project?
Because I don't see this issue here:


I also try to tint the screen before the pause, and everything runs ok when unpause.
hey great mod again. can you make an update where you can add a common event after the game is un paused. Im trying to turn the music back on after the Pause button and i cant figure out how without a common event.
Version 1.4 - 01/04/2021
- Add common event to play when leaving Scene pause.

@Raggon Sorry for the late answer, I was resting a little bit in the final of 2020.
But it's done now, please download the new version.

Original thread: https://forums.rpgmakerweb.com/threads/eli-pause-game-works-like-the-old-retro-games.126171/