-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.js
36 lines (30 loc) · 1.35 KB
/
settings.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//====================
// Settings
//====================
export const toggleShortcut = "Ctrl+A";
export const animateOnLaunch = true;
// Animation data
import {tilesetsData as em} from './animations_pokeemerald.js';
import {tilesetsData as frlg} from './animations_pokefirered.js';
import {tilesetsData as rs} from './animations_pokeruby.js';
export const versionData = [rs, frlg, em];
// Base filepaths
export const tilesetsPath = "data/tilesets/";
export const primaryPath = tilesetsPath + "primary/";
export const secondaryPath = tilesetsPath + "secondary/";
export const animFileExtension = ".png";
// Logging
export const logPrefix = "ANIM: ";
export const logBasicInfo = true;
// Setting the logInfo data below to true will impact
// performance. Only turn them on if you need to.
export const logUsageInfo = false;
export const logDebugInfo = false;
// Timing
// There are 1000ms in a second, and the GBA's refresh rate is ~59.73 frames per second.
// After rounding, the refresh rate will be just slightly slower than the GBA (17ms vs 16.74ms).
// The timer operates in millisecond units, so it is not possible to set a closer interval.
export const refreshTime = Math.round(1000 / 59.73);
// Exceptions
// If you'd like to always skip animations for certain maps, add them to this list
export const mapExceptions = [""]; // e.g. ["PetalburgCity", ...]