Minor tidying and updating

This commit is contained in:
Maruno17
2023-07-29 20:20:08 +01:00
parent 1b5c0f6f2f
commit 4f14108772
3 changed files with 9 additions and 23 deletions

View File

@@ -1,18 +1,3 @@
# Needed because RGSS doesn't call at_exit procs on exit
# Exit is not called when game is reset (using F12)
$AtExitProcs = [] if !$AtExitProcs
def exit(code = 0)
$AtExitProcs.each do |p|
p.call
end
raise SystemExit.new(code)
end
def at_exit(&block)
$AtExitProcs.push(Proc.new(&block))
end
#===============================================================================
# Methods that determine the duration of an audio file.
#===============================================================================

View File

@@ -1,14 +1,14 @@
# Pokémon Essentials
Based on Essentials v20.1.
Based on Essentials v21.
You can build your fangame on top of a fork of this repository. Doing so will let you update your fangame with improvements made to this repo as soon as they are made.
## Usage
1. Fork this repo.
2. Get a copy of Essentials v20.1 (a download link cannot be provided here).
3. Clone your forked repo into the Essentials v20.1 folder, replacing the existing files with the ones from the repo.
2. Get a copy of Essentials v21 (a download link cannot be provided here).
3. Clone your forked repo into the Essentials v21 folder, replacing the existing files with the ones from the repo.
From here, you can edit this project to turn it into your fangame/develop mods. When this repo is updated, you can pull the changes to update your fork and get the updates into your fangame/modding environment.
@@ -37,5 +37,6 @@ The .gitignore file lists the files that will not be included in this repo. Thes
* Everything in the Data/ folder, except for:
* The Data/Scripts/ folder and everything in there.
* Scripts.rxdata (a special version that just loads the individual script files).
* messages_core.dat, which contains common messages and is useful for translation projects.
* A few files in the main project folder (two of the Game.xxx files, and the RGSS dll file).
* Temporary files.

View File

@@ -145,15 +145,15 @@
//
"vsync": true,
// The game's frame rate.
//
"fixedFramerate": 61,
// Use a fixed framerate that is approx. equal to the native screen refresh
// rate. This is different from "fixedFramerate" because the actual frame
// rate is reported back to the game, ensuring correct timers. If the screen
// refresh rate cannot be determined, this option is force-disabled. This
// option may be force-disabled at build time.
//
// "syncToRefreshrate": false,
"syncToRefreshrate": true,
// The game's frame rate, if "syncToRefreshrate" is false.
//
// "fixedFramerate": 60,
}