How to make a counter for clicks that land on a sprite and ones that don't ??
maybe a think like this
Develop games in your browser. Powerful, performant & highly capable.
Hold on im testing some variation of the code, but essentially you are correct, ill post it here when im done.
dropbox.com/scl/fi/jt2vsaxwoot5gr3ykgxzv/pic.jpg
After messing around with some options this is what i came up with.
I m sure it can be done milion other ways better than this, but hey, it works
dropbox.com/scl/fi/jt2vsaxwoot5gr3ykgxzv/pic.jpg After messing around with some options this is what i came up with. I m sure it can be done milion other ways better than this, but hey, it works
Yes this work too, but if you need to use a touch device you can call the "is over" condition. The method Retroinsight suggest work both, mouse and touch devices