top | item 40331225

(no title)

inc3pt | 1 year ago

I admit I only discovered this earlier this week while wanting something similar, but: have you used the ‘mode’ that comes from double clicking the crank widget in the Simulator? It allows for very precise mouse control of* the crank and has made work on my current project so much easier!

(If I’ve misinterpreted what you’re looking for and/or this doesn’t do what you want, my apologies in advance!)

discuss

order

omoikane|1 year ago

I am afraid mine doesn't do anything different when I double click, maybe it's platform specific? I am using simulator on Windows, SDK version 2.4.2.

What I wish for would be a mode where "crank position = (mouse screen X or Y) % 360" or something like that, preferably capturing the mouse cursor such that I can't accidentally click outside the simulator, even better if it wraps the mouse cursor around the screen like how Blender does it.

inc3pt|1 year ago

Oh no, hmm! I'm on 2.4.2 as well (build 166897) but on macOS.

> What I wish for would be a mode where "crank position = (mouse screen X or Y) % 360" or something like that, preferably capturing the mouse cursor such that I can't accidentally click outside the simulator, even better if it wraps the mouse cursor around the screen like how Blender does it.

This is exactly what it's doing for me (so hopefully there's a way to get it working for you!).

I took a peek at the help docs and I see this: https://help.play.date/manual/simulator/#crank-and-accelerom...

> "Double-clicking the crank circle will let you turn it just by moving your mouse."

(When I do this, I can release the mouse button and the cursor becomes 'bound' to the crank. As an indication, the normally white crank indicator turns red.)

Made a quick video showing the behavior: https://www.youtube.com/watch?v=iXoFcIHm0qU (Couldn't think of where to host, YouTube was the easiest.)