Skip to content

remove FlxCamera position from rotated matrix transform - #29

Open
inky03 wants to merge 1 commit into
FunkinCrew:devfrom
inky03:dev
Open

remove FlxCamera position from rotated matrix transform#29
inky03 wants to merge 1 commit into
FunkinCrew:devfrom
inky03:dev

Conversation

@inky03

@inky03 inky03 commented Aug 12, 2026

Copy link
Copy Markdown

camera view is translated when changing the camera's position, basically doubling the position change.. this doesnt happen in the original library and it seems like a bug. i believe this is the culprit?

@sillyburg

Copy link
Copy Markdown

merge before i go crazy

@HomuHomu833

Copy link
Copy Markdown

aditionally if (!(_sinScrollAngle == 0 && _sinScrollAngle == 1)) needs to be if (!(_sinScrollAngle == 0 && _cosScrollAngle == 1)) because sin can't be both 0 and 1 so rotateWithTrig always returns, cos is needed since sin is also 0 at 180 degrees

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.

4 participants