I've been trying to fathom this one on my own but it turns out I really have no idea where to start.
For context, I've been working on a survival horror style game in AGS for a little while now. One thing that I'd like to incorporate is a sort of 'wobbly aiming' mechanic whereby when the player is aiming the reticule at an enemy, the cursor/reticule sort of wobbles around the point where the mouse is on screen as if your aiming is imperfect (for example, like with the sniper rifle in the Deus Ex games - watch from 13 secs:) https://youtu.be/W78OSUJZrBU
I'm also hoping to add a recoil effect whereby when the player shoots the enemy, the reticule/cursor snaps upward on the y axis.
The aiming/firing mechanic simply uses an inventory item (iPistol) which, while active, changes the mouse pointer to an aiming reticule. Clicking this on the enemy (cMonster) then triggers a bunch of script that isn't especially relevant here.
Can anyone give me some pointers (pun very much intended) as to how to approach this?
For context, I've been working on a survival horror style game in AGS for a little while now. One thing that I'd like to incorporate is a sort of 'wobbly aiming' mechanic whereby when the player is aiming the reticule at an enemy, the cursor/reticule sort of wobbles around the point where the mouse is on screen as if your aiming is imperfect (for example, like with the sniper rifle in the Deus Ex games - watch from 13 secs:) https://youtu.be/W78OSUJZrBU
I'm also hoping to add a recoil effect whereby when the player shoots the enemy, the reticule/cursor snaps upward on the y axis.
The aiming/firing mechanic simply uses an inventory item (iPistol) which, while active, changes the mouse pointer to an aiming reticule. Clicking this on the enemy (cMonster) then triggers a bunch of script that isn't especially relevant here.
Can anyone give me some pointers (pun very much intended) as to how to approach this?