Properties
Protected _battleback1Name
_battleback1Name: string
Protected _battleback2Name
_battleback2Name: string
Protected _displayX
_displayX: number
Protected _displayY
_displayY: number
Protected _mapId
_mapId: number
Protected _nameDisplay
_nameDisplay: boolean
Protected _needsRefresh
_needsRefresh: boolean
Protected _parallaxLoopX
_parallaxLoopX: boolean
Protected _parallaxLoopY
_parallaxLoopY: boolean
Protected _parallaxName
_parallaxName: string
Protected _parallaxSx
_parallaxSx: number
Protected _parallaxSy
_parallaxSy: number
Protected _parallaxX
_parallaxX: number
Protected _parallaxY
_parallaxY: number
Protected _parallaxZero
_parallaxZero: boolean
Protected _scrollDirection
_scrollDirection: number
Protected _scrollRest
_scrollRest: number
Protected _scrollSpeed
_scrollSpeed: number
Protected _tilesetId
_tilesetId: number
Methods
adjustX
- adjustX(x: number): number
-
Parameters
Returns number
adjustY
- adjustY(y: number): number
-
Parameters
Returns number
allTiles
- allTiles(x: number, y: number): Array<number>
-
Parameters
Returns Array<number>
autotileType
- autotileType(x: number, y: number, z: number): number
-
Parameters
-
x: number
-
y: number
-
z: number
Returns number
battleback1Name
- battleback1Name(): string
battleback2Name
- battleback2Name(): string
canvasToMapX
- canvasToMapX(x: number): number
-
Parameters
Returns number
canvasToMapY
- canvasToMapY(y: number): number
-
Parameters
Returns number
changeBattleback
- changeBattleback(battleback1Name: string, battleback2Name: string): void
-
Parameters
-
battleback1Name: string
-
battleback2Name: string
Returns void
changeParallax
- changeParallax(name: string, loopX: boolean, loopY: boolean, sx: number, sy: number): void
-
Parameters
-
name: string
-
loopX: boolean
-
loopY: boolean
-
sx: number
-
sy: number
Returns void
changeTileset
- changeTileset(tilesetId: number): void
checkLayeredTilesFlags
- checkLayeredTilesFlags(x: number, y: number, bit: number): boolean
-
Parameters
-
x: number
-
y: number
-
bit: number
Returns boolean
checkPassage
- checkPassage(x: number, y: number, bit: number): boolean
-
Parameters
-
x: number
-
y: number
-
bit: number
Returns boolean
deltaX
- deltaX(x1: number, x2: number): number
-
Parameters
Returns number
deltaY
- deltaY(y1: number, y2: number): number
-
Parameters
Returns number
disableNameDisplay
- disableNameDisplay(): void
distance
- distance(x1: number, y1: number, x2: number, y2: number): number
-
Parameters
-
x1: number
-
y1: number
-
x2: number
-
y2: number
Returns number
doScroll
- doScroll(direction: number, distance: number): void
-
Parameters
-
direction: number
-
distance: number
Returns void
enableNameDisplay
- enableNameDisplay(): void
eraseEvent
- eraseEvent(eventId: number): void
eventIdXy
- eventIdXy(x: number, y: number): number
-
Parameters
Returns number
eventsXyNt
- eventsXyNt(x: number, y: number): Array<Game_Event>
isAirshipLandOk
- isAirshipLandOk(x: number, y: number): boolean
-
Parameters
Returns boolean
isAnyEventStarting
- isAnyEventStarting(): boolean
isBoatPassable
- isBoatPassable(x: number, y: number): boolean
-
Parameters
Returns boolean
isBush
- isBush(x: number, y: number): boolean
-
Parameters
Returns boolean
isCounter
- isCounter(x: number, y: number): boolean
-
Parameters
Returns boolean
isDamageFloor
- isDamageFloor(x: number, y: number): boolean
-
Parameters
Returns boolean
isDashDisabled
- isDashDisabled(): boolean
isEventRunning
- isEventRunning(): boolean
isLadder
- isLadder(x: number, y: number): boolean
-
Parameters
Returns boolean
isLoopHorizontal
- isLoopHorizontal(): boolean
isLoopVertical
- isLoopVertical(): boolean
isNameDisplayEnabled
- isNameDisplayEnabled(): boolean
isPassable
- isPassable(x: number, y: number, d: number): boolean
-
Parameters
-
x: number
-
y: number
-
d: number
Returns boolean
isShipPassable
- isShipPassable(x: number, y: number): boolean
-
Parameters
Returns boolean
isValid
- isValid(x: number, y: number): boolean
-
Parameters
Returns boolean
layeredTiles
- layeredTiles(x: number, y: number): Array<number>
-
Parameters
Returns Array<number>
refreshTileEvents
- refreshTileEvents(): void
regionId
- regionId(x: number, y: number): number
-
Parameters
Returns number
requestRefresh
- requestRefresh(mapId: number): void
roundX
- roundX(x: number): number
-
Parameters
Returns number
roundXWithDirection
- roundXWithDirection(x: number, d: number): number
-
Parameters
Returns number
roundY
- roundY(y: number): number
-
Parameters
Returns number
roundYWithDirection
- roundYWithDirection(y: number, d: number): number
-
Parameters
Returns number
scrollDown
- scrollDown(distance: number): void
scrollLeft
- scrollLeft(distance: number): void
scrollRight
- scrollRight(distance: number): void
scrollUp
- scrollUp(distance: number): void
setDisplayPos
- setDisplayPos(x: number, y: number): void
setup
- setup(mapId: number): void
setupAutorunCommonEvent
- setupAutorunCommonEvent(): boolean
setupStartingEvent
- setupStartingEvent(): boolean
setupStartingMapEvent
- setupStartingMapEvent(): boolean
setupTestEvent
- setupTestEvent(): boolean
startScroll
- startScroll(direction: number, distance: number, speed: number): void
-
Parameters
-
direction: number
-
distance: number
-
speed: number
Returns void
terrainTag
- terrainTag(x: number, y: number): number
-
Parameters
Returns number
tileEventsXy
- tileEventsXy(x: number, y: number): Array<Game_Event>
tileId
- tileId(x: number, y: number, z: number): number
-
Parameters
-
x: number
-
y: number
-
z: number
Returns number
tilesetFlags
- tilesetFlags(): Array<number>
unlockEvent
- unlockEvent(eventId: number): void
update
- update(sceneActive: boolean): void
updateInterpreter
- updateInterpreter(): void
xWithDirection
- xWithDirection(x: number, d: number): number
-
Parameters
Returns number
yWithDirection
- yWithDirection(y: number, d: number): number
-
Parameters
Returns number
Game_Map
The game object declare class for a map. It contains scrolling and passage determination functions.
Game_Map