The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to optimize my little game?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #236593


    so I wrote a small game. What it basically does is you can press any letter on the keyboard and it plays short sound and draws a circle with CSS and that circle shrinks down in .7 secs and then it’s gone. What I’ve noticed tho is that on slower computers this game is really lagging. It’s also lagging on my MacBook Pro Retina 2015 13″ on Safari. I was wondering is there a way to optimize it so it doesn’t lag so much?

    You can find the game here:
    And the code here:

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.