Midnight Raider / What the Crow / Prototypes

Hi Janajmfa,

There is not a real camera in Playdate SDK… but you can use the function playdate.setDrawOffset(x,y)to simulate this kind of behaviour .

For example in using this function to follow the cursor in my game Pocket;City .

I’m using the same function in my next game Sunday;Lunch

Just for example ,if your character moves 30 pixel to the right you have to call playdate.setDrawOffset(-30,0) to “center the camera“

1 Like