Forums

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
    Posts
  • #236593
    arnsa
    Participant

    Hello,

    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: http://arnsa.github.io/TapSound/
    And the code here: https://github.com/arnsa/arnsa.github.io/tree/master/TapSound

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