Eli Pause Game - Works like the old retro games!
https://i.imgur.com/GjLPhgJ.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 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
[*]"debug" ■ Keyboard: F9
[*]"cancel" ■ Gamepad: B
[*]"menu" ■ Gamepad: Y
Terms of Use
Update Log
https://img.itch.zone/aW1nLzQxMzE2MDcucG5n/original/rMnnAH.png
Eli Pause game for RPG Maker MV-MZ by Hakuen Studio
Pause your game like in the old retro games!
hakuenstudio.itch.io
本贴来自国际rpgmaker官方论坛作者:Eliaquim处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/eli-pause-game-works-like-the-old-retro-games.127915/
页:
[1]