Hey, I'm new to playdate and planning my first game before the device arrives. Exciting!
I'm trying to avoid using a physics engine for collisions. I'm making a car game and would like to check how many corners of the rectangular car is touching the road (or are outside the road). The car is rotated and I'm hoping to keep the terrain as arbitrary bitmaps.
Is there a way I can get information of individual pixels of an image? Something like getPixel(image, x, y)?
I meant if one of the drawing functions is used, drawArc() for example, would it be possible to use sample() or a similar function to get the pixels drawn?
It doesn't say in the API whether something is returned from those functions, so I'm guessing not.