Forum rules - please read before posting.
Tech questions during the weekend? Drop in on the community Discord channel!

Cursor size units

edited May 2020 in Technical Q&A

Hi!

Could you please tell what are the units of the Size field in the Cursor Manager? I'm sorry I couldn't find the answer neither in the manual nor at the forum.

My game screen resolution is 1920x1080, cursor rendering type is Software, cursor texture picture is 100x100 pixels. When I set a cursor size to 1, the cursor is huge, larger than even 1920x1080 fullscreen, 0.1 - it's big, larger than 100x100, 0.01 - it's tiny, much lesser than 100x100. What size should I set to my cursor if I want an original size of a cursor texture without any resizing?

Thank you!

Comments

  • It's a factor of the playable area's width, so to get a size of 100px you'd use 1920 / 100 = 0.052.

    It'll always be scaled by some small degree, though. To avoid any resizing, use either Hardware rendering, or a Unity UI-cursor set to Constant Pixel Size.

  • That's great! Thank you!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.