You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.
I noticed :image is like sprite in many other game engines, but seems there is no api for adding on-click callback. I think sprites having support for on-click is quite common game engine functionality. Am I missing something ? Should this functionality be added in the future?
I am thinking that this on-click event should include the information about :image (sprite) that was clicked.
The text was updated successfully, but these errors were encountered:
Sorry for the late reply -- I plan on working on this soon. Right now you have to make a click listener and do the coordinate calculation yourself, but I definitely plan on adding this into the next release.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I noticed
:image
is like sprite in many other game engines, but seems there is no api for addingon-click
callback. I think sprites having support for on-click is quite common game engine functionality. Am I missing something ? Should this functionality be added in the future?I am thinking that this on-click event should include the information about :image (sprite) that was clicked.
The text was updated successfully, but these errors were encountered: