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

Refactor sprite.width and sprite.height to sprite.scale #50

Open
CaedenPH opened this issue Aug 23, 2023 · 0 comments
Open

Refactor sprite.width and sprite.height to sprite.scale #50

CaedenPH opened this issue Aug 23, 2023 · 0 comments

Comments

@CaedenPH
Copy link
Contributor

Instead of the following code:

const sprite = new Sprite(...);
sprite.width = 200;
sprite.height = 200;

we would determine the scale to use for the sprite

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

No branches or pull requests

1 participant