Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,885
Reaction score
1,363
First Language
Portuguese - Br
Primarily Uses
RMMZ
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/

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: 48
Height: 96

You can use the plugin command to pause the game manually too.

You can check if the button is pressed using "pause".
Input.isTriggered("pause")
Input.isPressed("pause")
etc...

Terms of Use

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


DOWNLOAD
EliMZ_PauseGame.js
Update Log
Version 2.1.0 - 12/25/2020
- Added a common event to play when leaving the pause scene.
Version 2.0.0 - 12/18/2020
- Adapted to work with Eli Book 3.0.0.
Version 1.2.0 - 12/03/2020
- There is no need to inform a javascript keycode. Just put the desired keyboard button in the plugin parameters.
Version 1.1.0 - 10/16/2020
- Adapt to Eli Book 2.0.0
- Add more parameters to set the position of the button on the map.
Version 1.0.0 - 09/26/2020
- Plugin release!
 
Last edited:

Tonedawg181

Tonedawg Gaming
Veteran
Joined
Oct 21, 2016
Messages
67
Reaction score
22
First Language
English
Primarily Uses
RMMV
looks great! is there a way i can make it just do pause on combat screens, but if your just running around in the world (out of combat) it's not active?
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,885
Reaction score
1,363
First Language
Portuguese - Br
Primarily Uses
RMMZ
looks great! is there a way i can make it just do pause on combat screens, but if your just running around in the world (out of combat) it's not active?
Do you mean, that wants the pause scene to work only in Battle? And not in the map?
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,885
Reaction score
1,363
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 1.1.0 - 10/16/2020
- Adapt to Eli Book 2.0.0
- Add more parameters to set the position of the button on the map.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,885
Reaction score
1,363
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 1.2.0 - 12/03/2020
- There is no need to inform a javascript keycode. Just put the desired keyboard button in the plugin parameters.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,885
Reaction score
1,363
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.0.0 - 12/18/2020
- Adapted to work with Eli Book 3.0.0.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,885
Reaction score
1,363
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.1.0 - 12/25/2020
- Added a common event to play when leaving the pause scene.
 

imcatman

Villager
Member
Joined
Apr 12, 2019
Messages
21
Reaction score
3
First Language
German
Primarily Uses
RMMV
Is there a way to stop the BGM when the "Pause" button is pressed and play the BGM from the middle when the "Pause" is canceled?
 

Latest Threads

Latest Profile Posts

Generally speaking, would there be interest in some form of tutorial regarding general project management? I see there are a lot of indie/self-taught devs around here, and looking back i feel like there was a lack of resources on how to properly manage a project that might take several years to finish
I've been working on some ABS team A.I. for 'A New Suburbia', and thought I'd share.

I'm generally quite please although the AI is a little grenade heavy right now :rolleyes: - Sneaking and stalking next! Please excuse the terrible map... it was just for ease of viewing!
Voting for the second round of the Map Madness Tournament is now live! Vote for your favorite in each matchup! https://forums.rpgmakerweb.com/index.php?forums/map-madness-2021-polls.187/
Just bought the Visustella All Waves bundle... Time to go IN!!
Oh, I was just confirmed I'll be doing small online classes during june - july, on one side I'm nervous and looking forward it, on the other one: I've became the very thing I swore to destroy. :kaodes:

Forum statistics

Threads
110,577
Messages
1,054,343
Members
143,692
Latest member
speedylmao
Top