You've already forked FullScreenPokemon
mirror of
https://github.com/FullScreenShenanigans/FullScreenPokemon.git
synced 2026-04-28 12:58:40 -07:00
dc94869e63
Added resetObjectMaker and resetContainer. GBSEmulatr console.errors instead of throws. Runner no longer passes unbound setTimeout, clearTimeout. MenuGrapher has bound menu callbacks.
41 lines
1.5 KiB
JavaScript
41 lines
1.5 KiB
JavaScript
FullScreenPokemon.FullScreenPokemon.settings.runner = {
|
|
"interval": 1000 / 60,
|
|
"adjustFramerate": true,
|
|
"games": [
|
|
function () {
|
|
this.PixelDrawer.refillGlobalCanvas(
|
|
this.MapsHandler.getArea().background
|
|
);
|
|
//this.PixelDrawer.refillQuadrantGroups(
|
|
// this.QuadsKeeper.getQuadrantRows(),
|
|
// this.MapsHandler.getArea().background
|
|
//);
|
|
},
|
|
function () {
|
|
this.QuadsKeeper.determineAllQuadrants("Terrain", this.GroupHolder.getTerrainGroup());
|
|
this.QuadsKeeper.determineAllQuadrants("Scenery", this.GroupHolder.getSceneryGroup());
|
|
this.QuadsKeeper.determineAllQuadrants("Solid", this.GroupHolder.getSolidGroup());
|
|
},
|
|
function () {
|
|
this.maintainGeneric(this, this.GroupHolder.getTextGroup());
|
|
},
|
|
function () {
|
|
this.maintainGeneric(this, this.GroupHolder.getTerrainGroup());
|
|
},
|
|
function () {
|
|
this.maintainGeneric(this, this.GroupHolder.getSceneryGroup());
|
|
},
|
|
function () {
|
|
this.maintainGeneric(this, this.GroupHolder.getSolidGroup());
|
|
},
|
|
function () {
|
|
this.maintainCharacters(this, this.GroupHolder.getCharacterGroup());
|
|
},
|
|
function () {
|
|
this.maintainPlayer(this, this.player)
|
|
},
|
|
function () {
|
|
this.TimeHandler.handleEvents();
|
|
}
|
|
]
|
|
} |