veereshsg / lock-and-key-animation Goto Github PK
View Code? Open in Web Editor NEWLock and key lets the users interact with the game and trigger the locking and unlocking events inside the game. The first lock, which is a padlock has a locking and unlocking animation, where the key is translated into the keyhole and then rotated.