User-Based Interactivity (Mouse/Keyboard Events)

Bringing it All Together

Here is an example of an advanced game that features animations, movement through key and mouse interaction, and collisions between groups and single sprite characters:

See the Pen Example Code by LSU DDEM ( @lsuddem) on CodePen.

https://codepen.io/lsuddem/pen/jKKZjz