playdate/api

Search:
Group by:

Macros

macro initSDK() {..}

Exports

PDSystemEvent, PlaydateAPI, playdate, $, ==, =copy, =destroy, AnyBitmapData, BitmapData, BitmapDataObj, BitmapView, DisplayFrame, LCDBitmap, LCDBitmapDrawMode, LCDBitmapFlip, LCDBitmapObj, LCDBitmapObjRef, LCDBitmapTable, LCDColor, LCD_COLUMNS, LCDFont, LCDFontData, LCDFontGlyph, LCDFontLanguage, LCDFontPage, LCDLineCapStyle, LCDPattern, LCDPolygonFillRule, LCDRect, LCD_ROWS, LCD_ROWSIZE, LCD_SCREEN_RECT, LCDSolidColor, LCDVideoPlayer, PDStringEncoding, PlaydateGraphics, PlaydateVideo, TextAlignment, TextInRectResult, bitmapPtr, bitmapRef, checkMaskCollision, clear, clear, clear, clearBitmap, copy, copyFrameBufferBitmap, createPattern, display, draw, drawEllipse, drawLine, drawRect, drawRotated, drawScaled, drawText, drawText, drawTextAligned, drawTextAligned, drawTextInRect, drawTextInRect, drawTiled, fillEllipse, fillPolygon, fillRect, fillTriangle, get, get, getBitmap, getBitmapMask, getBitmapTableInfo, getContext, getData, getDataObj, getDebugBitmap, getDisplayBufferBitmap, getDisplayFrame, getFont, getFontHeight, getFontPage, getFrame, getGlyphKerning, getInfo, getPageGlyph, getSize, getTextSize, getTextSizeInRect, getTextSizeInRect, getTextWidth, height, height, isNil, load, load, makeFont, makeLCDOpaquePattern, makeLCDPattern, makeLCDRect, markUpdatedRows, newBitmap, newBitmap, newBitmapTable, newBitmapTable, newFont, newVideoPlayer, pushContext, renderFrame, resource, rotated, rotated, set, set, set, setBitmapMask, setClipRect, setColorToPattern, setContext, setDrawOffset, setFont, setScreenClipRect, setStencilImage, setTextLeading, setTextTracking, tileBitmap, translateLCDRect, useScreenContext, width, width, PDButton, PDButtons, PDCallbackFunction, PDLanguage, PDMenuItem, PDMenuItemButton, PDMenuItemButtonCallbackFunction, PDMenuItemCheckmark, PDMenuItemCheckmarkCallbackFunction, PDMenuItemOptions, PDMenuItemOptionsCallbackFunction, PDPeripherals, PlaydateSys, addCheckmarkMenuItem, addMenuItem, addOptionsMenuItem, convertDateTimeToEpoch, convertEpochToDateTime, drawFPS, error, fmt, getAccelerometer, getAllMenuItems, getBatteryPercentage, getBatteryVoltage, getButtonState, getCrankAngle, getCrankChange, getCurrentTimeMilliseconds, getElapsedTime, getFlipped, getLanguage, getReduceFlashing, getSecondsSinceEpoch, getTimezoneOffset, isActive, isCrankDocked, logToConsole, randomize, remove, removeAllMenuItems, setAutoLockEnabled, setCrankSoundsEnabled, setMenuImage, setSerialMessageCallback, setUpdateCallback, shouldDisplay24HourTime, title, title=, value, value, value=, value=, FileOptions, FileStat, PlaydateFile, SDFile, SEEK_CUR, SEEK_END, SEEK_SET, close, exists, flush, listFiles, mkdir, open, read, read, readString, rename, seek, stat, tell, toStream, unlink, write, write, CollisionPoint, CollisionVector, LCDSprite, LCDSpriteCollisionFilterProc, LCDSpriteDrawFunction, LCDSpriteUpdateFunction, PDRect, PDRectMake, PlaydateSprite, SpriteCollisionInfo, SpriteCollisionResponseType, SpriteQueryInfo, add, allOverlappingSprites, bounds, bounds=, checkCollisions, clearClipRect, clearClipRectsInRange, clearCollideRect, clearStencil, collideRect, collideRect=, collisionsEnabled, collisionsEnabled=, copy, getCenter, getImage, getPosition, getSpriteCount, imageFlip, imageFlip=, markDirty, moveBy, moveTo, moveWithCollisions, newSprite, other, overlappingSprites, querySpriteInfoAlongLine, querySpritesAlongLine, querySpritesAtPoint, querySpritesInRect, remove, removeAllSprites, removeSprites, setAlwaysRedraw, setCenter, setClipRect, setClipRectsInRange, setCollisionResponseFunction, setDrawFunction, setDrawMode, setIgnoresDrawOffset, setImage, setOpaque, setSize, setStencilImage, setStencilPattern, setUpdateFunction, sprite, tag, tag=, updatesEnabled, updatesEnabled=, visible, visible=, zIndex, zIndex=, PlaydateDisplay, getHeight, getRefreshRate, getWidth, setFlipped, setInverted, setMosaic, setOffset, setRefreshRate, setScale, =destroy, AudioSample, FilePlayer, PDFilePlayerCallbackFunction, PDSamplePlayerCallbackFunction, PDSoundCallbackFunction, PDSoundSequenceCallbackFunction, PlaydateSound, SamplePlayer, SoundSequence, SoundSource, allNotesOff, fadeVolume, finishCallback, finishCallback, finishCallback=, finishCallback=, getCurrentStep, getCurrentTime, getHeadphoneState, getLength, getLength, getLength, getTempo, getTime, isPlaying, isPlaying, isPlaying, load, load, loadMIDIFile, newAudioSample, newAudioSample, newFilePlayer, newFilePlayer, newSamplePlayer, newSamplePlayer, newSequence, offset, offset, offset=, offset=, pause, play, play, play, rate, rate=, sample, sample=, setCurrentStep, setFinishCallback, setFinishCallback, setHeadphoneChangedCallback, setLoops, setOutputsActive, setPaused, setPlayRange, setTempo, setTime, setVolume, setVolume, stop, stop, stop, volume, volume, volume=, volume=, AddScoreCallback, AddScoreCallbackRaw, BoardsListCallback, BoardsListCallbackRaw, PDBoard, PDBoardRaw, PDBoardsList, PDBoardsListPtr, PDBoardsListRaw, PDListScoreRaw, PDResult, PDResultKind, PDScore, PDScorePtr, PDScoreRaw, PDScoresList, PDScoresListPtr, PDScoresListRaw, PersonalBestCallback, PersonalBestCallbackRaw, PlaydateScoreboards, ScoresCallback, ScoresCallbackRaw, addScore, getPersonalBest, getScoreboards, getScores, scoreboardSlots, LuaError, LuaNimFunction, LuaStatePtr, LuaType, LuaUDObject, LValType, PlaydateLua, addFunction, argIsNil, callFunction, getArgBool, getArgClass, getArgCount, getArgFloat, getArgInt, getArgString, getArgType, pushBool, pushFloat, pushInt, pushString, JSONDecoder, JSONEncoder, JSONReader, JSONValue, JSONValueType, JSONValueUnion, PlaydateJSON, WriteFunc, boolValue, floatValue, intValue, newJSONDecoder, stringValue, compilerInfo, toC, =destroy, SDKArray, [], []=, items, len, mitems, mpairs, pairs, NineSlice, draw, newNineSlice