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

MouseClick event #52

Closed
200sc opened this issue Sep 26, 2017 · 1 comment
Closed

MouseClick event #52

200sc opened this issue Sep 26, 2017 · 1 comment
Milestone

Comments

@200sc
Copy link
Contributor

200sc commented Sep 26, 2017

A common want is to be able to react to a press and a release on the same collision entity. To do this we'd need to track the LastMousePress just like we track the last mouse event, and on release, if both press and release collide with an entity trigger a MouseClick on the entity.

This would mean that you could press on an entity, drag off of the entity, drag back on, and release to click, but this seems acceptable.

@200sc 200sc added this to the 1.4 milestone Sep 26, 2017
@200sc
Copy link
Contributor Author

200sc commented Sep 30, 2017

This is done in develop.

@200sc 200sc closed this as completed Sep 30, 2017
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