Tag Info

New answers tagged

0

I once created a system like this as an experiment. The way I did it was to abstract the pixel-perfect path of the mouse away into a series of quantized directions of travel (rounded to 45° for my purposes). My primitive matching algorithm just tried to fit a pattern to the series when the user released the mouse button. If I were to do it again I would ...


0

Given the option between "warping the cursor back to the middle of the screen every frame" or "constraining the mouse inside the game window", you always want to constrain the mouse within the window. With the "teleport the mouse to the middle of the screen each frame" approach, the mouse is actually not being constrained within the window; it's just ...


0

There's no "better" solution here. You describe 2 different techniques, choosing between them is a design decision that depends entirely on the context and the intended effect. Locking the mouse with instant camera moves comes from FPSes, but I'm sure it has been used for other genres. It gives a very responsive and precise camera movement, but the down ...



Top 50 recent answers are included