Hello recently i have been working on this 1bit shooter game and i've recently discovered a problem that being when ever my courser is near my player character the active weapon flashes between spots i'm not sure how to fix it as it is a problem with setting the position and moving the active item forward 15
youtube link:
youtube.com/watch
Cp3 Game Link:
dropbox.com/s/64pe9q4ty9gk31l/1bitShooterGame.c3p
ok sorry but I just realized that the video I linked didn't show the problem for some reason it
Develop games in your browser. Powerful, performant & highly capable.
The problem is at event 3 where the guns position conflicting with event 5 & 6 that also order guns to be at mouse coordinates.
Hey sorry Lines 5 & 6 aren't actually in use as they we're meant to be a "fix" to the same problem but they couldn't work how I wanted them too so I decided not to use it.
Add another condition at event 4 so it won't allow guns to set angle towards mouse position when the distance less or equal to 25:
+ System: distance(Mouse.X, Mouse.Y, P_box.X, P_box.Y) > 25
Add another condition at event 4 so it won't allow guns to set angle towards mouse position when the distance less or equal to 25: + System: distance(Mouse.X, Mouse.Y, P_box.X, P_box.Y) > 25
Thanks for help now I can stop worrying about this problem