Option to increase cursor size

Started by WillLem, December 27, 2020, 05:08:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WillLem

It's in the title. I tried simply resizing the "mouse.png" graphic by 200%, and it worked, but displayed all related images simultaneously rather than just the cursor, i.e:


Simon

This is 2 issues, the failed resize and the lack of bigger cursor.

Reopened #75 Cursor too small on github. geoo filed this, then eventually grew happy with the small cursor, and nobody else wanted it bigger since. It would be nice to scale the cursor independently of the window size or resolution.




When you resize gridded images, you must keep the outside border 1 pixel thin. Lix will detect this border during file load, cut the bitmap according to the frame color, and treat the image as having several frames.

With 2-pixel-thick border, Lix will detect this image as ungridded, and treat it as a single frame. As a result, you will see the entire image instead of the first frame, and error texts instead of all other frames.

-- Simon

WillLem

Quote from: Simon on December 27, 2020, 05:46:24 AM
When you resize gridded images, you must keep the outside border 1 pixel thin. Lix will detect this border during file load, cut the bitmap according to the frame color, and treat the image as having several frames.

Thank you for this explanation! :lemcat:

Confirmed - placing the attached image into Lix/data/images results in a cursor double the size of the default (I have also attached the original default image here just in case anyone tries this and wishes to switch back).

Preview of resized cursor in-game: