So I'm making those libraries that can animate changes (like position change, scale, origin and rotation), execute functions after timeout and in intervals and making event listener and onclick functions (which isn't coming up very fast since there are many different events and when you rotate and do other stuff to sprite it is hard to determine is it clicked on or not).
I putted a test exe file in attachments (dosen't include the 3 dll files needed to run it, so you will have to add that).
It has 1 second timeout till beginning and I seted an interval to repeat the animation every 9 seconds, because that is how long it lasts.
So try out my test file and if anyone has any idea what else I could make please tell.
[attachment deleted by admin]