We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I quickly threw together my version of a popular mobile game called "Sine Line".
The code seems to work fine on both PC and Mobile. But, I think it slowed down considerably after I added the Collision checking (Line 59) in my draw loop, especially on mobile.
Here's a link for quick testing: http://random-codes.000webhostapp.com/sineline.html
I'd like to optimize it further as I do think there's room for it, but I can't seem to find any way. Any help would be appreciated :')