Is There any Possible Way to Force This Radar Needle to the Middle?

So I have been trying to make a radar-spinning needle in my Radar game. But basically, the problem is that I just cant get the needle centered. Is there any possible way I can force this to the middle so it’s not off to the side? Cause it looks kinda strange if I just leave it as is.

is there any way i can get a link to your game? you can email me it if you need to: hcahill2009@gmail.com

I need to see it to be able to help sorry

1 Like
1 Like
  1. The centers x,y coordinates are (176,178) so set it to those.
  2. Don’t use spin use rotate instead.
  3. Center your sprite
1 Like

not quite its 275,275
Add this code and it will be centered

image

1 Like

Awesome thanks I’ll quick do that. :wink:

1 Like

Thanks a lot. That fixed my issue and now it’s centered. Your the best. :sunglasses:

1 Like

You are very welcome Kool Cid_Applications :sunglasses:

1 Like

One more question though. How did you find the coordinates? Just so I don’t have to keep asking people…

You can use the mouse move behavior, attach the X and Y to two numbers and test the game and you’ll be able to see the pixel X and Y numbers

1 Like

i just get the grid and multipy by 32 and thats the pixels, but you can use the mouse

1 Like

Okay sounds good. Thank you :+1::blush:.

1 Like