DKTools
DKTools
Members
PATREON
SITE
VERSION
Global
Members
DKToolsParam
Imported
DKTools.Animation
Members
_actions
_id
_manager
_onFail
_onPause
_onRepeat
_onReset
_onStart
_onSuccess
_onUpdate
_remainingPauseTime
_remainingRepeats
_remainingTime
_repeats
_repeatTime
_started
_target
_type
actions
id
manager
remainingPauseTime
remainingRepeats
remainingTime
repeats
repeatTime
target
type
Methods
_callOnFailHandler
_callOnPauseHandler
_callOnRepeatHandler
_callOnResetHandler
_callOnStartHandler
_callOnSuccessHandler
_callOnUpdateHandler
_canCallOnFailHandler
_canCallOnPauseHandler
_canCallOnRepeatHandler
_canCallOnResetHandler
_canCallOnStartHandler
_canCallOnSuccessHandler
_canCallOnUpdateHandler
_canUpdateAction
_clearRemainingRepeats
_clearRemainingTime
_resetRemainingRepeats
_resetRemainingTime
_update
_updateAction
_updateActions
_updatePause
_updateRemainingPauseTime
_updateRemainingRepeats
_updateRemainingTime
addAction
addActions
fail
finish
getElapsedRepeats
getElapsedTime
hasAction
hasActions
hasManager
hasOnFailHandler
hasOnPauseHandler
hasOnRepeatHandler
hasOnResetHandler
hasOnStartHandler
hasOnSuccessHandler
hasOnUpdateHandler
hasTarget
hasType
initialize
isActionFinished
isActionUpdated
isAnimation
isAnimationAction
isFinished
isPaused
isStarted
isUpdated
pause
remove
removeAction
repeat
repeatActions
reset
resetActions
resume
setManager
setOnFailHandler
setOnPauseHandler
setOnRepeatHandler
setOnResetHandler
setOnStartHandler
setOnSuccessHandler
setOnUpdateHandler
setTarget
stop
update
DKTools.Animation.Action
Members
_animation
_data
_endTime
_id
_manager
_onFail
_onPause
_onRepeat
_onReset
_onStart
_onSuccess
_onUpdate
_remainingPauseTime
_remainingRepeats
_remainingTime
_repeats
_repeatTime
_started
_startTime
_target
_type
animation
data
endTime
endTime
id
manager
remainingPauseTime
remainingRepeats
remainingTime
repeats
repeatTime
startTime
startTime
target
type
Methods
Frame
Move
Opacity
Rotation
Scale
_callOnFailHandler
_callOnPauseHandler
_callOnRepeatHandler
_callOnResetHandler
_callOnStartHandler
_callOnSuccessHandler
_callOnUpdateHandler
_canCallOnFailHandler
_canCallOnPauseHandler
_canCallOnRepeatHandler
_canCallOnResetHandler
_canCallOnStartHandler
_canCallOnSuccessHandler
_canCallOnUpdateHandler
_clearRemainingRepeats
_clearRemainingTime
_resetRemainingRepeats
_resetRemainingTime
_update
_updatePause
_updateRemainingPauseTime
_updateRemainingRepeats
_updateRemainingTime
fail
finish
getElapsedRepeats
getElapsedTime
getRemainingTime
hasManager
hasOnFailHandler
hasOnPauseHandler
hasOnRepeatHandler
hasOnResetHandler
hasOnStartHandler
hasOnSuccessHandler
hasOnUpdateHandler
hasTarget
hasType
initialize
isAnimation
isAnimationAction
isFinished
isPaused
isStarted
isUpdated
pause
remove
repeat
reset
resume
setAnimation
setManager
setOnFailHandler
setOnPauseHandler
setOnRepeatHandler
setOnResetHandler
setOnStartHandler
setOnSuccessHandler
setOnUpdateHandler
setTarget
stop
update
DKTools.Base
Members
eventsManager
mouse
mouseEnterTime
touch
wheelX
wheelY
Methods
_clearAll
_createEventsManager
activate
actorName
addAnimation
addEvent
addFilter
addOneTimeEvent
calcTextHeight
canRedrawAll
checkAll
clear
clearRect
convertEscapeCharacters
createAll
deactivate
drawAll
drawBitmap
drawBitmapAsync
drawCharacter
drawCircle
drawFace
drawGauge
drawIcon
drawItemName
drawLine
drawPolygon
drawTextEx
fillAll
fillRect
fontHeight
getLocalPoint
getWindowskinTextColor
gradientFillAll
gradientFillRect
hasBitmap
hasParent
hasWindowskin
hide
initialize
isActive
isBusy
isChild
isDestroyed
isInside
isMouseInside
isOutside
isParent
isReady
isStarted
isTouchInside
isVisible
isVisibleAndActive
makeFontBigger
makeFontSmaller
move
obtainEscapeCode
obtainEscapeParam
onItemChange
partyMemberName
processAll
processCharacter
processDrawIcon
processEscapeCharacter
processMouseEvents
processNewLine
processNewPage
processNormalCharacter
processWheelEvents
redrawAll
refreshAll
removeAll
removeEvent
removeFilter
removeFromParent
resize
setActive
setItem
setupActive
setupAll
setupOpacity
setupPivot
setupRotation
setupScale
setupSize
setupSkew
setupVisible
setVisible
show
standardActive
standardDrawingHeight
standardDrawingWidth
standardOpacity
standardPivot
standardRotation
standardScale
standardSkew
standardVisible
standardWindowskin
start
textFontHeight
textHeight
textHeightEx
textLines
textWidth
textWidthEx
textWrap
update
updateActivateEvents
updateAll
updateCheckAllEvents
updateChildren
updateCreateAllEvents
updateDeactivateEvents
updateDrawAllEvents
updateEvents
updateHideEvents
updateMouseEnterEvents
updateMouseInsideEvents
updateMouseLeaveEvents
updateMouseMoveEvents
updateMouseOutsideEvents
updateQueueEvents
updateReadyEvents
updateRedrawAllEvents
updateRefreshAllEvents
updateRemoveAllEvents
updateShowEvents
updateStartEvents
updateUpdateAllEvents
updateUpdateEvents
updateWheelXEvents
updateWheelYEvents
DKTools.Event
Members
_id
_manager
_onFail
_onPause
_onRepeat
_onReset
_onStart
_onSuccess
_onUpdate
_remainingPauseTime
_remainingRepeats
_remainingTime
_repeats
_repeatTime
_started
_target
_type
id
manager
remainingPauseTime
remainingPauseTime
remainingRepeats
remainingRepeats
remainingTime
remainingTime
repeats
repeatTime
target
type
Methods
_callOnFailHandler
_callOnPauseHandler
_callOnRepeatHandler
_callOnResetHandler
_callOnStartHandler
_callOnSuccessHandler
_callOnUpdateHandler
_canCallOnFailHandler
_canCallOnPauseHandler
_canCallOnRepeatHandler
_canCallOnResetHandler
_canCallOnStartHandler
_canCallOnSuccessHandler
_canCallOnUpdateHandler
_clearRemainingRepeats
_clearRemainingTime
_resetRemainingRepeats
_resetRemainingTime
_update
_updatePause
_updateRemainingPauseTime
_updateRemainingRepeats
_updateRemainingTime
fail
finish
getElapsedRepeats
getElapsedTime
hasManager
hasOnFailHandler
hasOnPauseHandler
hasOnRepeatHandler
hasOnResetHandler
hasOnStartHandler
hasOnSuccessHandler
hasOnUpdateHandler
hasTarget
hasType
initialize
isAnimation
isAnimationAction
isFinished
isPaused
isStarted
isUpdated
pause
remove
repeat
reset
resume
setManager
setOnFailHandler
setOnPauseHandler
setOnRepeatHandler
setOnResetHandler
setOnStartHandler
setOnSuccessHandler
setOnUpdateHandler
setTarget
stop
update
DKTools.EventsManager
Members
_events
_target
Methods
_checkEvent
_checkEvents
_checkEventsContainer
addAnimation
addEvent
addEventToContainer
addOneTimeEvent
clearEvents
createEventsContainer
failEvents
findAnimation
findEvent
finishEvents
getAnimations
getEventIndex
getEvents
getEventsContainerByType
hasAnimation
hasAnimations
hasEvent
hasEvents
initialize
isEventsPaused
iterateEventsContainer
pauseEvents
removeEvent
resumeEvents
stopEvents
update
updateEventsContainer
DKTools.IO
Members
ERROR_CALLBACK_IS_NOT_AVAILABLE
ERROR_DECOMPRESSING_DATA
ERROR_DIRECTORY_ALREADY_EXISTS
ERROR_DIRECTORY_IS_NOT_EMPTY
ERROR_NOT_LOCAL_MODE
ERROR_OPTIONS_ARE_NOT_AVAILABLE
ERROR_OVERWRITING_IS_NOT_AVAILABLE
ERROR_PARSING_DATA
ERROR_PATH_DOES_NOT_EXIST
EXPECT_CALLBACK
fs
mode
MODE_NWJS
MODE_NWJS_STAMP
OK
os
path
projectPath
sep
stamp
_mode
_projectPath
_stamp
Methods
_createStamp
_loadStamp
_splitPath
_statPath
absolutePathExists
getAbsolutePath
getRootDirectory
initialize
isDirectory
isFile
joinPath
normalizePath
parsePath
pathExists
reverseSlashes
DKTools.IO.Directory
Members
_extension
_initialExtension
_name
_path
extension
initialExtension
name
path
Methods
__processError
create
createAsync
createDirectory
createDirectoryAsync
equals
exists
findDirectories
findDirectoriesAsync
findFiles
findFilesAsync
getAbsolutePath
getAll
getAllAsync
getAudioFiles
getAudioFilesAsync
getDirectories
getDirectoriesAsync
getExtension
getFiles
getFilesAsync
getFullName
getFullPath
getImageFiles
getImageFilesAsync
getJsonFiles
getJsonFilesAsync
getName
getPath
getRootDirectory
getStats
getStatsAsync
getTxtFiles
getTxtFilesAsync
getVideoFiles
getVideoFilesAsync
hasExtension
initialize
isDirectory
isEmpty
isFile
loadAudioFiles
loadAudioFilesAsync
loadBitmaps
loadBitmapsAsync
remove
removeAsync
rename
renameAsync
reserveBitmaps
reserveBitmapsAsync
DKTools.IO.Entity
Members
_extension
_initialExtension
_name
_path
extension
initialExtension
name
path
Methods
__processError
equals
exists
getAbsolutePath
getExtension
getFullName
getFullPath
getName
getPath
getStats
getStatsAsync
hasExtension
initialize
isDirectory
isFile
rename
renameAsync
DKTools.IO.File
Members
_extension
_initialExtension
_name
_path
extension
initialExtension
name
path
Methods
__processError
_detectExtension
copy
copyAsync
equals
exists
getAbsolutePath
getDirectory
getDirectoryName
getExtension
getFullName
getFullPath
getName
getPath
getStats
getStatsAsync
hasExtension
initialize
isAudio
isDirectory
isFile
isImage
isJson
isSave
isTexture
isTxt
isVideo
load
loadAsync
loadAudio
loadAudioAsync
loadBitmap
loadBitmapAsync
loadJson
loadJsonAsync
remove
removeAsync
rename
renameAsync
reserveBitmap
reserveBitmapAsync
save
saveAsync
saveJson
saveJsonAsync
DKTools.IO.SaveFile
Members
_extension
_initialExtension
_name
_path
extension
initialExtension
name
path
Methods
__processError
_detectExtension
copy
copyAsync
equals
exists
getAbsolutePath
getDirectory
getDirectoryName
getFullName
getFullPath
getName
getPath
getStats
getStatsAsync
hasExtension
isAudio
isDirectory
isFile
isImage
isJson
isSave
isTexture
isTxt
isVideo
load
loadAsync
loadAudio
loadAudioAsync
loadBitmap
loadBitmapAsync
loadJson
loadJsonAsync
remove
removeAsync
rename
renameAsync
reserveBitmap
reserveBitmapAsync
save
saveAsync
saveJson
saveJsonAsync
DKTools.IO.WebStorage
Methods
exists
load
remove
rename
save
DKTools.Network
Methods
_toFile
_toJson
fetchFile
fetchJson
DKTools.ParameterManager
Members
_params
_pluginName
Methods
parse
change
get
initialize
initializeParams
DKTools.PluginCommandManager
Members
_pluginCommands
Methods
has
process
set
DKTools.PluginManager
Members
_requirements
Methods
_checkRequirements
_getMaxVersion
checkVersion
compareVersions
getVersion
initialize
isRegistered
orderAfter
orderBefore
requirePlugin
DKTools.PreloadManager
Members
_cache
_files
_queue
_cache
_queue
Methods
_finish
_generateAudioKey
_generateImageKey
_log
_onFileLoad
_preload
_processAudioFile
_processImageFile
_processLoadAudioFiles
_processLoadImageFiles
canPreloadAudioFiles
canPreloadImageFiles
clearCache
clearQueue
getCachedAudioByKey
getCachedAudioByPath
getCachedImageByKey
getCachedImageByPath
getTotal
initialize
isAudioCachedByKey
isAudioCachedByPath
isFinished
isImageCachedByKey
isImageCachedByPath
isReady
isStarted
onFileLoad
onFinish
preloadAudio
preloadImage
releaseAudioByKey
releaseAudioByPath
releaseImageByKey
releaseImageByPath
setDebugging
start
DKTools.Scene
Members
_eventsManager
Methods
activate
addAnimation
addEvent
addOneTimeEvent
calcWindowHeight
create
createAllSprites
createAllWindows
createBackground
createForeground
createHelpWindow
deactivate
hasWindowLayer
helpAreaBottom
helpAreaHeight
helpAreaTop
helpWindowRect
initialize
isChild
isPreloaded
mainAreaBottom
mainAreaHeight
mainAreaTop
needsBackground
removeWindow
setupPreloading
startPreloading
update
updateEvents
updateQueueEvents
updateReadyEvents
updateUpdateEvents
DKTools.Scene.Preloader
Members
_errors
_finished
_queue
_running
Methods
_onError
add
finish
hasErrors
initialize
isReady
isRunning
start
DKTools.Sprite
Members
_align
_fillColor
_fixedBitmap
_font
_graphicFolder
_graphicLoadListener
_graphicName
_paintOpacity
_textColor
align
contents
fillColor
font
graphicFolder
graphicName
paintOpacity
textColor
windowskin
Methods
_loadGraphic
canRedrawAll
changeFont
changePaintOpacity
changeTextColor
createAll
createBitmap
drawAll
drawText
getLocalPoint
hasFillColor
hasFixedBitmap
hasGraphicFolder
hasGraphicName
initialize
isResizable
lineHeight
loadBitmap
loadSystem
loadWindowskin
moveWithAnchor
removeBitmap
reserveBitmap
reserveSystem
resetAll
resetFont
resetPaintOpacity
resetTextColor
resize
setAlign
setBitmap
setFillColor
setFont
setGraphicFolder
setGraphicName
setPaintOpacity
setTextColor
setupAlign
setupAll
setupAnchor
setupBitmap
setupFillColor
setupFont
setupFrame
setupGraphicFolder
setupGraphicLoadListener
setupGraphicName
setupPaintOpacity
setupSize
setupTextColor
standardAlign
standardAnchor
standardFillColor
standardFont
standardFontBold
standardFontFace
standardFontItalic
standardFontSize
standardFrame
standardGraphicFolder
standardGraphicName
standardPaintOpacity
standardTextColor
update
updateAll
updateBitmap
updateFill
updateFont
updatePaintOpacity
updateTextColor
DKTools.Sprite.Button
Members
_align
_fillColor
_fixedBitmap
_font
_graphicFolder
_graphicLoadListener
_graphicName
_longPressInterval
_paintOpacity
_textColor
align
contents
fillColor
font
graphicFolder
graphicName
longPressInterval
mousePressTime
paintOpacity
textColor
touchPressTime
windowskin
Methods
_loadGraphic
canRedrawAll
changeFont
changePaintOpacity
changeTextColor
createAll
createBitmap
drawAll
drawText
getLocalPoint
hasFillColor
hasFixedBitmap
hasGraphicFolder
hasGraphicName
initialize
isLongPressed
isLongTouched
isPressed
isResizable
isTouched
lineHeight
loadBitmap
loadSystem
loadWindowskin
moveWithAnchor
processAll
processMousePress
processTouch
removeBitmap
reserveBitmap
reserveSystem
resetAll
resetFont
resetPaintOpacity
resetTextColor
resize
setAlign
setBitmap
setFillColor
setFont
setGraphicFolder
setGraphicName
setPaintOpacity
setTextColor
setupAlign
setupAll
setupAnchor
setupBitmap
setupFillColor
setupFont
setupFrame
setupGraphicFolder
setupGraphicLoadListener
setupGraphicName
setupLongPressInterval
setupPaintOpacity
setupSize
setupTextColor
standardActive
standardAlign
standardAnchor
standardFillColor
standardFont
standardFontBold
standardFontFace
standardFontItalic
standardFontSize
standardFrame
standardGraphicFolder
standardGraphicName
standardLongPressInterval
standardPaintOpacity
standardTextColor
update
updateAll
updateBitmap
updateButtonState
updateFill
updateFont
updateLongTouchEvents
updateLongTouchFinishedEvents
updateLongTouchStartedEvents
updateMouseClickEvents
updateMouseDownEvents
updateMouseLongPressEvents
updateMouseLongPressFinishedEvents
updateMouseLongPressStartedEvents
updateMouseUpEvents
updatePaintOpacity
updateStateNormalEvents
updateStatePressedEvents
updateTextColor
updateTouchDownEvents
updateTouchEvents
updateTouchUpEvents
DKTools.StartupManager
Members
_isReady
Methods
_checkRPGMakerVersion
_checkWebStorage
checkErrors
initialize
initializeModules
isReady
DKTools.Utils
Methods
__audioCacheLimit
__hideGrid
__imageCacheLimit
__quickLoad
__showGrid
__tileSize
_checkUpdates
_getErrorLogData
initialize
isFunction
isString
logError
makeScreenshot
openConsole
throwError
DKTools.Utils.Bitmap
Methods
drawLine
getBase64
load
loadAsync
loadBitmaps
loadBitmapsAsync
reserve
reserveAsync
reserveBitmaps
reserveBitmapsAsync
DKTools.Utils.WebAudio
Methods
load
loadAsync
loadBuffers
loadBuffersAsync
DKTools.Window
Members
_windowContentsSprite
bitmap
Methods
_createAllParts
_createArrowSprites
activate
contentsHeight
contentsWidth
createContents
deactivate
drawText
drawTextEx
hideBack
hideCursor
hideFrame
initialize
isOpenAndActive
isOpenAndVisible
onItemChange
refreshAll
resetFontSettings
resetTextColor
resize
setupAll
setupContentsHeight
setupContentsSprite
setupContentsWidth
setupSize
standardContentsHeight
standardContentsSprite
standardContentsWidth
standardOpennessSpeed
update
updateAll
updateClose
updateCloseEvents
updateContents
updateOpen
updateOpenEvents
DKTools.Window.Scrollable
Methods
_clearAll
_createArrowSprites
_refreshArrows
_updateArrows
clearScrollStatus
isHorizontal
isScrollEnabled
isTouchedInsideFrame
isTouchScrollEnabled
isWheelScrollEnabled
itemHeight
itemWidth
maxScrollX
maxScrollY
onTouchScroll
onTouchScrollEnd
onTouchScrollStart
overallHeight
overallWidth
processPageScroll
processTouchScroll
processWheelScroll
scrollBaseX
scrollBaseY
scrollBlockHeight
scrollBlockWidth
scrollBy
scrollTo
scrollX
scrollY
setScrollAccel
setupAll
setupItemHeight
setupItemWidth
smoothScrollBy
smoothScrollDown
smoothScrollLeft
smoothScrollRight
smoothScrollTo
smoothScrollUp
update
updateArrows
updateOrigin
updateScrollAccel
updateScrollBase
updateSmoothScroll
DKTools.Window.Selectable
Members
_itemPaintOpacity
_itemTextColor
Methods
_createAllParts
_refreshArrows
_updateArrows
addItem
bottomCol
callHandler
callOkHandler
changePaintOpacity
col
currentExt
currentItem
currentSymbol
cursorDown
cursorLeft
cursorRight
cursorUp
drawAll
drawAllItems
drawItem
ensureCursorVisible
findExt
findSymbol
hasItems
hasSymbol
initialize
isCurrentItemEnabled
isCursorVisible
isItemEnabled
item
itemExt
itemExt
itemHeight
itemName
itemPadding
itemPaintOpacity
itemRect
itemSymbol
itemTextAlign
itemTextColor
itemWidth
maxCols
maxItems
maxPageItems
maxTopCol
maxVisibleItems
nextIndex
nextItem
onTouch
playCursorSound
prevIndex
prevItem
processCancel
processOk
processWheel
refresh
refreshAll
scrollLeft
scrollRight
select
selectExt
selectFirstItem
selectLasItem
selectNextItem
selectPrevItem
selectSymbol
setBottomCol
setItems
setMaxCols
setTopCol
setTopRow
setupAll
setupItemAlign
setupItemDrawHandler
setupItemHeight
setupItemPaintOpacity
setupItems
setupItemTextColor
setupItemWidth
setupMaxCols
setupSize
standardContentsSprite
standardItemDrawHandler
standardItems
standardItemTextAlign
standardMaxCols
topCol
topIndex
update
updateArrows
updateSelectEvents
Index