In the SDK there are the following definitions for the addEmptyCollisionSprite function
playdate.graphics.sprite.addEmptyCollisionSprite(r)
playdate.graphics.sprite.addEmptyCollisionSprite(x, y, w, h)
however the stub (in __stub.lua
) only has the following:
function playdate.graphics.sprite.addEmptyCollisionSprite(r) end
I believe it should probably match the function definition in sprite.lua
:
function spritelib.addEmptyCollisionSprite(x, ...)