Cannot read properties of null (reading '_width')

I am currently trying to create a game on MakeCode arcade for a school project, the game is similar to Mario. There are monsters you attack, and a boss level. Consisting of 5 levels in total.

I finished creating the sprite for the player and I am currently trying to get it to walk. But it is not working and it keeps giving me the same error message.

At the moment, it looks like you’re trying to animate using several different sprites (which appear to not have initialized.) I’d suggest using an animation block from the arcade-sprite-animation extension, instead.

Screenshot by Dropbox Capture

In fact, a bunch of the things you’ll need to learn how to do happen within this tutorial, if you want to fast-forward passed some of the struggle:


1 Like