Lathander 19 Posted July 13, 2020 If anyone else is as annoyed at the wobbly cursor as I was.. you can fix it inside Client Entity.cs by adding Math.Ceiling to destRectangle.X = (int)Math.Ceiling(GetCenterPos().X) destRectangle.Y = (int)Math.Ceiling(GetCenterPos().Y) under the DrawTarget function. I'd submit a fix for bugs but I am not at my normal computer and I do not have access for a while. Damn that wobbly cursor drove me nuts, surprised I took this long to finally fix it. 7 1 Mighty Professional, Justn, Shenmue and 5 others reacted to this Share this post Link to post Share on other sites
Shenmue 120 Posted July 13, 2020 4 hours ago, Lathander said: If anyone else is as annoyed at the wobbly cursor as I was.. you can fix it inside Client Entity.cs by adding Math.Ceiling to destRectangle.X = (int)Math.Ceiling(GetCenterPos().X) destRectangle.Y = (int)Math.Ceiling(GetCenterPos().Y) under the DrawTarget function. I'd submit a fix for bugs but I am not at my normal computer and I do not have access for a while. Damn that wobbly cursor drove me nuts, surprised I took this long to finally fix it. Would be cool to see before/after, because the cursor looked fine to me. I guess I can always try that later. Share this post Link to post Share on other sites
Lathander 19 Posted July 13, 2020 8 minutes ago, Shenmue said: Would be cool to see before/after, because the cursor looked fine to me. I guess I can always try that later. So, it might not be as obvious with the default intersect cursor. That said, those things stick out to me. Here's before and after. The reason Math.Ceiling works, is because if your graphics are divisible by 2, I am assuming it is attempting to chose one of the two center pixels to place the cursor, and that changes because it isn't a central pixel. By using Math.Ceiling it chooses the higher of the two pixels. 3 Shenmue, Kamus and rpgscroll reacted to this Share this post Link to post Share on other sites
rpgscroll 2 Posted July 14, 2020 1 hour ago, Lathander said: So, it might not be as obvious with the default intersect cursor. That said, those things stick out to me. Here's before and after. The reason Math.Ceiling works, is because if your graphics are divisible by 2, I am assuming it is attempting to chose one of the two center pixels to place the cursor, and that changes because it isn't a central pixel. By using Math.Ceiling it chooses the higher of the two pixels. Wow that's a great change! Thanks for sharing Share this post Link to post Share on other sites
Shenmue 120 Posted July 14, 2020 3 hours ago, Lathander said: So, it might not be as obvious with the default intersect cursor. That said, those things stick out to me. Here's before and after. The reason Math.Ceiling works, is because if your graphics are divisible by 2, I am assuming it is attempting to chose one of the two center pixels to place the cursor, and that changes because it isn't a central pixel. By using Math.Ceiling it chooses the higher of the two pixels. Second one is better indeed haha Share this post Link to post Share on other sites