i want the crosshair to grow and slowly shrink to mimic recoil, but right now the shrinking of the crosshair instantly terminates when the player stops holding click cuz the animation switches to idle. anybody know a better way to do this?
Press tilde to reset scene
And 1 2 3 to change weapons which does not change much
I made it and realized your game is 2D not 3D
Everything should work regardless
However instead of ray casting you want to check if enemy distance to cursor is below something or distance to crosshair
Anyway
Where did you get that?
![]()
That looks over complicated for no reason
So
I made only one piece of crosshair which is horizontal one
And move its center and origin point to center of right edge
I added to it outline effect and set color to black
I made Z variable which is structure with no child variables
And rest is in events
THX to crosshair being white as image i can tint it red so it flashes on target
BTW bats and player2 are in object group called target
In each expression starting with min or max
A - how fast it will go
B - how far it can go





