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

[ts] spine-player: viewport alignment #2468

Open
NathanSweet opened this issue Mar 1, 2024 · 0 comments
Open

[ts] spine-player: viewport alignment #2468

NathanSweet opened this issue Mar 1, 2024 · 0 comments
Assignees

Comments

@NathanSweet
Copy link
Member

It would be nice to control viewport alignment within the spine-player canvas bounds. Currently we center:

renderer.camera.position.x = viewport.x + viewport.width / 2;
renderer.camera.position.y = viewport.y + viewport.height / 2;

Forum thread:
https://esotericsoftware.com/forum/d/25653-viewport-alignment-in-spine-player

@NathanSweet NathanSweet changed the title spine-player: viewport alignment [ts] spine-player: viewport alignment Mar 3, 2024
@lukeeingram lukeeingram self-assigned this Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants