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

update visibility flag for floating objects based on the object coordinates #943

Closed
obiot opened this issue Jul 31, 2018 · 0 comments
Closed

Comments

@obiot
Copy link
Member

obiot commented Jul 31, 2018

melonJS version

6.0

Bug description

setting a floating object coordinates outside of the viewport will not change its visibility flag.

see this forum
http://www.html5gamedevs.com/topic/39116-hidden-gui-objects-slow-game-render/

obiot added a commit that referenced this issue Sep 27, 2018
…function

also allow for #943 to be fixed in a single place, and makes other code cleaner
obiot added a commit that referenced this issue Oct 26, 2018
…n coordinates

as opposed to the "return true" shortcut previously implemented
@obiot obiot closed this as completed Oct 26, 2018
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