The documentation for playdate->sprite->getPosition has the returned x and y values as ints, when they are floats
If you provide the address of ints the function returns garbage.
The documentation for playdate->sprite->getPosition has the returned x and y values as ints, when they are floats
If you provide the address of ints the function returns garbage.