Premium Features

Download Video

Shoot Projectiles

Published 2 years ago

Here we'll give our hero a semi-automatic cannon which we can shoot whenever we click on the canvas. We'll use some event listeners and a little bit of math to achieve this effect.


Want to participate?

Create a free Chris Courses account to begin


No comments yet, be the first to add one

Cheat Sheet Preview

Download The Official Chris Courses HTML5 Canvas Cheat Sheet

Essential canvas syntax at your fingertips.

Download Now

Providing the lift to launch your development career

© 2022 Chris Courses. All rights reserved.