We need help with the image movement management of a Mario image in our game (see how it’s managed in this game freekong org). We don’t know how to replicate the same movements in our processing game, please send help. I’ll post our code as well.
image(mario, marioX, marioY);
if (keyCode == LEFT) marioX-=3;
if (keyCode == RIGHT) marioX+=3;
if (keyCode == UP) return 0;
Lots of hugs for whoever responds.