Issue with sprite animation

I have been trying to get my player to animate for some time now and i’ve read multiple tutorials but i cant seem to achieve this. The tutorial i am following is at : https://www.simplifiedcoding.net/javascript-sprite-animation-tutorial-html5-canvas/ I create the player of a component class: mySprite = new component(168, 33, “Images/Run/character.png”, 0, 0, “sprite”); Then i create […]