How do I Fix this bug

Get help using Construct 2

Post » Sat Mar 21, 2015 2:36 pm

I am working on a top down shooter, at the moment I have it so that every tick a sprite (which is the cross hair) moves to mouse.X and Mouse.Y, I have my character with 8 direction controls and to face mouse.X and mouse.y with every tick.

The bug is that when I move to in any direction, the cross hair moves as well so its no longer following mouse.X or mouse.Y
B
6
Posts: 3
Reputation: 262

Post » Sat Mar 21, 2015 5:47 pm

Do not use the "moves to" for the cross hair maybe use the "pin to" , when something is pin(ed) to something it follows it forever :) But I don't know if you can pin something on the mouse, never tried ^^
B
5
Posts: 46
Reputation: 334

Post » Sat Mar 21, 2015 10:16 pm

Thanks for the help :) I managed to figure out what was wrong and I made it so that the mouse uses my cross hair sprite as the cursor it self.
B
6
Posts: 3
Reputation: 262

Post » Sat Mar 21, 2015 10:31 pm

Cool :)
B
5
Posts: 46
Reputation: 334


Return to How do I....?

Who is online

Users browsing this forum: 25games, Artcadev and 27 guests