playdate.setDebugDrawColor(r, g, b, a) ranges for r/g/b values are not stated and unexpected

playdate.setDebugDrawColor(r, g, b, a)

values for r/g/b are unexpectedly in the range 0 to 1, not 0 to 255

this should be stated in the docs

1 Like

Filed, thanks! :slight_smile: Targeted for 1.13

1 Like

I assume this slipped through the cracks. Docs (as of 2.0.1) are still missing this. Thanks

playdate.setDebugDrawColor(r, g, b, a)
image