Skip to content

Commit

Permalink
Update platformer.html - Remove unused "percent" variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnole25 authored Feb 5, 2024
1 parent ebe2a51 commit c1ad954
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion platformer.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ <h1>Platformer Minigame</h1>
yv = 0;
falling = 0;
scroll = 0;
percent = 0;
setInterval(function() {
ctx.clearRect(0, 0, 512, 512);
ctx.fillStyle = "hsl(" + (180 - scroll / 10728 * -30) + ", 100%, " + (75 - scroll / 10728 * 50) + "%)";
Expand Down

0 comments on commit c1ad954

Please sign in to comment.