Press the green flag to start. Press the right arrow key to move right. Use the left arrow key to move left. Use the up arrow for jumping. The jumping code is now finished. You will jump higher the longer you hold the up arrow. You can jump up to a maximum of 6 blocks. If you turn quickly while you have momentum, you will see dust particles. Sorry I haven't added w, a s, d controls . I will add those in a later part.
I got all sprites from @griffpatch_tutor 's Tile Scrolling Tutorial Assets | Parts 1 to 10 . He says he got it from Super Mario Advance 4 (SMB 3). I followed a tutorial by him to make this project. This is part 4 of the series.