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.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
_fs
_mode
_os
_path
_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
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
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
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.PluginManager
Members
_requirements
Methods
_checkRequirements
_getMaxVersion
checkVersion
compareVersions
getVersion
initialize
isRegistered
requirePlugin
DKTools.PreloadManager
Members
_cache
_files
_queue
_cache
_queue
Methods
_finish
_generateKey
_log
_onFileLoad
_preload
_processAudioFile
_processImageFile
_processLoadAudioFiles
_processLoadImageFiles
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
addAnimation
addEvent
addOneTimeEvent
arePageButtonsEnabled
create
createAllSprites
createAllWindows
createBackground
createCancelButton
createForeground
createHelpWindow
createPageButtons
createUI
hasWindowLayer
initialize
isChild
isPreloaded
needsBackground
needsCancelButton
needsPageButtons
removeWindow
setBackgroundOpacity
setupPreloading
startPreloading
update
updateEvents
updatePageButtons
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
createTextBuffer
createTextState
destroyBitmap
drawAll
drawText
flushTextState
getLocalPoint
hasFillColor
hasFixedBitmap
hasGraphicFolder
hasGraphicName
initialize
isResizable
lineHeight
loadBitmap
loadSystem
loadWindowskin
moveWithAnchor
removeBitmap
resetAll
resetFont
resetFontSettings
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
createTextBuffer
createTextState
destroyBitmap
drawAll
drawText
flushTextState
getLocalPoint
hasFillColor
hasFixedBitmap
hasGraphicFolder
hasGraphicName
initialize
isLongPressed
isLongTouched
isPressed
isResizable
isTouched
lineHeight
loadBitmap
loadSystem
loadWindowskin
moveWithAnchor
processAll
processMousePress
processTouch
removeBitmap
resetAll
resetFont
resetFontSettings
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
__hideGrid
__quickLoad
__showGrid
__tileSize
_checkUpdates
_getErrorLogData
initialize
isFunction
isString
logError
makeScreenshot
throwError
DKTools.Utils.Bitmap
Methods
drawLine
getBase64
load
loadAsync
loadBitmaps
loadBitmapsAsync
DKTools.Utils.WebAudio
Methods
load
loadAsync
loadBuffers
loadBuffersAsync
DKTools.Window
Members
_contentsSprite
bitmap
Methods
_createContentsBackSprite
_createContentsSprite
activate
clear
contentsHeight
contentsWidth
createAll
createContents
deactivate
drawText
drawTextEx
hideBack
hideContentsBack
hideCursor
hideFrame
initialize
isOpenAndActive
isOpenAndVisible
loadWindowskin
onItemChange
refreshAll
resetFontSettings
resetPaintOpacity
resetTextColor
resize
setupAll
setupContentsHeight
setupContentsSprite
setupContentsWidth
setupSize
standardContentsSprite
standardOpennessSpeed
standardPadding
update
updateAll
updateClose
updateCloseEvents
updateContents
updateOpen
updateOpenEvents
DKTools.Window.Scrollable
Methods
_clearAll
_createArrowSprites
_refreshArrows
_updateArrows
initialize
isHorizontal
itemHeight
itemWidth
onItemChange
overallHeight
overallWidth
processPageScroll
processWheelScroll
setupAll
setupItemHeight
setupItemWidth
smoothScrollLeft
smoothScrollRight
update
updateArrows
updateOrigin
DKTools.Window.Selectable
Members
_itemPaintOpacity
_itemTextColor
Methods
_clearAll
addItem
callHandler
callOkHandler
changePaintOpacity
col
contentsWidth
currentExt
currentItem
currentSymbol
cursorDown
cursorLeft
cursorRight
cursorUp
disableItemsBackground
drawAll
drawAllItems
drawItem
ensureCursorVisible
findExt
findSymbol
hasItems
hasSymbol
hideCursor
isCurrentItemEnabled
isHorizontal
isItemEnabled
isItemsBackgroundEnabled
isItemSelected
isOkEnabled
isRefreshOnSelect
isScrollEnabled
item
itemExt
itemExt
itemHeight
itemName
itemPaintOpacity
itemRect
itemSymbol
itemTextAlign
itemTextColor
itemWidth
maxCols
maxItems
maxPageItems
maxVisibleItems
nextIndex
nextItem
overallHeight
overallWidth
paint
playCursorSound
prevIndex
prevItem
processCancel
processOk
refreshAll
refreshOnSelect
select
selectExt
selectFirstItem
selectLasItem
selectNextItem
selectPrevItem
selectSymbol
setItems
setMaxCols
setupAll
setupItemAlign
setupItemDrawHandler
setupItemPaintOpacity
setupItems
setupItemTextColor
setupMaxCols
setupSize
standardContentsSprite
standardItemDrawHandler
standardItems
standardItemTextAlign
standardMaxCols
topCol
topIndex
update
updateOrigin
updateSelectEvents
Index