Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize method #22

Open
Tunnelbliick opened this issue Nov 14, 2023 · 1 comment
Open

Resize method #22

Tunnelbliick opened this issue Nov 14, 2023 · 1 comment
Labels
bug Something isn't working Priority: High
Milestone

Comments

@Tunnelbliick
Copy link
Owner

The Resize method currently is a bit weird.

Resize needs 2 additional parameters

  1. rotation of the playfield
  2. relative resizing based on rotation

currently the playfield is always treated as straight. this wont always be the case.

for resizing whilst the playfield is rotating we will need to create a relative coordinate system based on the current rotation and move the receptor based on that instead of the absolute coordinate system.

additionally width calculation on a flipped playfield kinda breaks.

not insanely big issue just means that you need to use weird height and widht values to get the effekt you want.

@Tunnelbliick
Copy link
Owner Author

this is pretty annoying to work around and should be fixed prefers immediately. or asoon as I have time, resize should always be relative to the current spin direction. so that Playfield rotation does not matter.

@Tunnelbliick Tunnelbliick added this to the 2.2 milestone Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority: High
Projects
None yet
Development

No branches or pull requests

1 participant