I made a mobile puzzle game where the player ocntrol a chameleon.
My problem is the control is very slow and unresponsive. It's really annoying and break most of the fun.
The point is, I juste don't get what make them slow in the code and how I can improve it?
Here is the code, the move are made by pressing a sprite arrow (use a button) or by swip.
Here is a link to the gam if you want to try it
https://play.google.com/store/apps/details?id=com.kalitrix.chameleon&pli=1