adryd325 / oneko.js

Cat follow mouse real! A hacky script I wrote to put a cat on my site.
MIT License
695 stars 68 forks source link

Im probably dumb but how do i make animations work #8

Closed dualfighter1 closed 1 year ago

dualfighter1 commented 1 year ago

Im trying to have the animations like sleeping and wall scratching work and they don't appear to be happening, I was waiting for a solid 2 minutes waiting for it to go to sleep.

Thanks, Noelle

dualfighter1 commented 1 year ago

Update: it does work but feels WAY too slow in going to extra animations, leaving me waiting like a whole 5 minutes sometimes.

adryd325 commented 1 year ago

if you want to make the animations more frequent on your site, change 200 to a lower number on this line https://github.com/adryd325/oneko.js/blob/ad83774e23c2e9d0179b9473b96ec508e4ee5570/oneko.js#L115

dualfighter1 commented 1 year ago

Thank you, Im new to js and dont exactly know my way around it so thanks for this :3c