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

Fix particles when viewport scaled #881

Merged
merged 1 commit into from
Mar 16, 2015

Conversation

mucaho
Copy link
Contributor

@mucaho mucaho commented Mar 8, 2015

In the current version particles do not consider the current viewport zoom when drawing themselve to the canvas. This PR fixes that and also adds an option to specify an offset from the base entity it is attached to.

original contribution in pr #743 by @johnHacksworth .
additional documentation & misc added by me.

In the current version particles do not consider the current viewport zoom
when drawing themselve to the canvas.
This PR fixes that and also adds an option to specify an offset from the
base entity it is attached to.
original contribution in pr craftyjs#743 by @johnHacksworth .
additional documentation & misc added by me.
@mucaho
Copy link
Contributor Author

mucaho commented Mar 8, 2015

The issue can be seen in the requirebin demo here. Also uploaded to craftyjs/demos/devDemos for future reference.

mucaho pushed a commit that referenced this pull request Mar 16, 2015
Fix particles when viewport scaled
@mucaho mucaho merged commit d043040 into craftyjs:develop Mar 16, 2015
@mucaho
Copy link
Contributor Author

mucaho commented Mar 16, 2015

minor fix, so going ahead and merging since no objections

@mucaho mucaho deleted the fix_particle_zoom branch March 16, 2015 10:47
@mucaho mucaho mentioned this pull request Mar 16, 2015
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