Hello! Long story short, I am trying to have animations and audio play in a loop when the user clicks on certain objects. I have looked up the Coding Train videos and have gotten some help for most parts of my project, but the animation issue is what I’m really interested in fixing. Along with that, I want the user to be able to make the object hover when they pass by it so they know to click it (and clicking it will lead them to the animations).
To be more specific, when the user clicks on one side of the screen on a particular object, a character’s bedroom is supposed to generate as a continuous animation with some background music (and it’s the same for the other side). The objects I am wanting to highlight are the stairs on the left and the photo frame on the right.
The project I had before I tried putting in animation was this:
And the one I am currently working on for the animation and hover effect looks like this:
Does anyone here have any tips for what I’m doing wrong and how I could try to fix it? Thanks in advance!!