Skip to content

Pixel Perfect Implementation.#261

Open
Spike2D wants to merge 1 commit intoDaleHuntGB:masterfrom
Spike2D:master
Open

Pixel Perfect Implementation.#261
Spike2D wants to merge 1 commit intoDaleHuntGB:masterfrom
Spike2D:master

Conversation

@Spike2D
Copy link
Copy Markdown

@Spike2D Spike2D commented Feb 24, 2026

(Had to fix the pull request so the file differences shown up correctly)

This implements means to obtain pixel perfect position when setting sizes, points and frames in code, leveraging the user from tweaking with settings to find the perfect positions.

Benefits of this includes;

  • UIScale is unrelevant
  • no need for decimals on settings
  • Anchors could be hardcoded if wanted
  • Pixel perfect solution out of the box for the user

Improvements;

  • As it is I've included some examples on the code base of usage, all of the indicators and such have not been revised, but I could do it if Unhalted decides he wants to use this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant