Edit of asset "Pause and Save" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Pause and Save | |
Description |
There are two singletons, add them in Project > Project Settings... and in the AutoLoad tab. Pause: it captures the mouse at the start. It pauses the game when pressing escape and releases the mouse, you can use it to display a menu. Pressing escape a second time will quit the game and save the game (you can remove this feature), pressing left-click with resume it and capture the mouse. Save: it has a function to save the game and load it. By default there is a shortcut for a quick save by pressing F5 and quick load by pressing F6. You can use them while the game is paused. The game will display a message in the top left when the game is loaded or saved. You can call the save function from an Area node to make a checkpoint. |
This is a singleton that captures the mouse at the start. It allows you to pause the game by pressing escape, it releases the mouse, you can display a menu. Pressing escape a second time will quit the game while the left-click will resume it and capture the mouse. |
Category | Scripts | |
License | MIT | |
Repository Provider | GitHub | |
Repository Url | https://github.com/Linko-3D/Pause-and-Save | |
Issues Url | https://github.com/Linko-3D/Pause-and-Save/issues | |
Godot version | Godot 3.2 | |
Version String | 1.0 | |
Download Commit | 53bd947ae794d0c5c955172099f856ffd59a7c32 | |
Download Url (Computed) | https://github.com/Linko-3D/Pause-and-Save/archive/53bd947ae794d0c5c955172099f856ffd59a7c32.zip | |
Icon Url |
https://i.imgur.com/Z6gZAlL.png
![]() |