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

Support scaling #59

Merged
merged 4 commits into from
Feb 8, 2020
Merged

Support scaling #59

merged 4 commits into from
Feb 8, 2020

Conversation

bofh69
Copy link
Contributor

@bofh69 bofh69 commented Jan 29, 2020

Add support for scaling to be able to draw maps like the ones in Door in the woods.

@bofh69
Copy link
Contributor Author

bofh69 commented Jan 29, 2020

I have modified ex09 to make use of it, but it should probably be a new example so I didn't commit it

@bofh69
Copy link
Contributor Author

bofh69 commented Jan 30, 2020

I just realized that this is lacking a center of the zoom. It can probably be handled with the offset values, but that is a hassle. Perhaps that should be added before this is merged?

@thebracket
Copy link
Collaborator

Giving this a look-see locally. Thank you!

@thebracket
Copy link
Collaborator

I like the overall effect, and it works well. So I'll merge it, and add an issue to note that there's a little more to do: the mouse position should be scaled as well.

@thebracket thebracket merged commit 24e667a into amethyst:master Feb 8, 2020
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.

None yet

2 participants