Here is a quick mockup that I threw together as a way to run a simple animation based game using vue and greensock.
Greensock provides the collision detection, and we fire an intersection check for the 2 game elements, which are the line, and the circle.
The circle, her name is rebecca. Rebecca purple is in the house.
Next, we fire off the animation and stop the game if the event occurs outside the intersection elements.
Persistent state through LocalForage will store my current high score.
I'm not going to lie to you, I can't seem to get above 45.
Comment your changes/high scores.
:)
Top comments (0)