In my basic wac-a-mole game, I have a mallet which I want to follow the mouse cursor around the play area. The mallet needs to be slightly offset. When I click the mouse, the mallet wac’s the mole.
The mallet in my current implementation does move a little bit with the mouse, but no where near where I need it to be. It is like the movement scale needs to increase, or I’ve approached this incorrectly.
In my game image, the mouse cursor is on the far left of the screen, but the mallet has only moved a fraction in the correct direction.
What I am doing wrong?