Video Thumbnail

Sign up for a plan to instantly unlock all premium lessons.

Premium Features

Download Video

Fireflower shoot sprite

Published 5 months ago

Right now, when we shoot, a fireball comes out of Mario, but we're not entirely sure from where (kinda sus). It makes a lot of sense in this case to add a shoot sprite so that when Mario shoots, we know that he's in the middle of an action.

Here we'll import our sprites using our new images.js file, and we'll also learn how to do a frame hold so that we only activate our sprite for a limited period of time.

Comments

Want to participate?

Create a free Chris Courses account to begin

Login
K
Kshitiz posted 4 months ago
0
chris posted 4 months ago
0
v
vialware posted 4 months ago
0
chris posted 4 months ago
1
Angelina posted 5 months ago
0
chris posted 5 months ago
1
Angelina posted 5 months ago
0
chris posted 4 months ago
1
Angelina posted 4 months ago
1
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.