Abdul M Posted November 4, 2014 Share Posted November 4, 2014 Hey, I am building a snake game using Javascript , I succesfully made it. Just having a problem when playing on mobile devices, it hangs for a minute when the snake eats the food then creates a new food, I attached a link of Codepen,, any help regarding this issue will be great. Link : http://codepen.io/crazyboy24/pen/fChtL/ Thanks in advance. Quote Link to comment Share on other sites More sharing options...
groundh0g Posted November 5, 2014 Share Posted November 5, 2014 Runs fine (with sluggish response) on Chrome / Android 4.4.4 / Galazy S4. I haven't done any pure JS game stuff in a while. Is it typical to include your world update logic in paint function? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.