Apologies if I've reported these before, but I've been working on improving the scraper for playdate-luacats and noticed few minor issues in the Lua SDK docs which I'm currently having to work around:
- playdate.network.http:query is not in the docs. That anchor is listed as
playdate.network.http:post
instead ofplaydate.network.http:query
, but doesn't specifymethod
. I think the description there needs to be moved down to playdate.network.http:post and a new description written for the signatureplaydate.network.http:query(method, path, [headers], [data])
- playdate.graphics.setClipRect(rect) is incorrectly duplicated under
playdate.graphics.setClipRect(x, y, width, height)
. It has it's own definition one line below. - playdate.graphics.sprite:setStencilPattern is listed in the docs as
playdate.graphics.setStencilPattern
(copy pasta) - playdate.graphics.sprite:setStencil is listed in the docs as
playdate.graphics.setStencilPattern
(copy pasta) - playdate.graphics.sprite.setStencilPattern({ row1, row2, row3, row4, row5, row6, row7, row8 }) should not be a table (no braces) and just be
(row1, row2, row3, row4, row5, row6, row7, row8
as the table form is already documented as playdate.graphics.setStencilPattern(pattern) - playdate.sound.synth:setADSR function signature is missing
curvature
- playdate.ui.crankIndicator:getBounds Function signature and docs are missing optional parameters
[xOffset, yOffset]
.