top of page

Countdown Timer in p5.js

I am working on some modifications to Dance Dance Hero to present as my final project this week. One of the modifications is to change it to a timed game that encourages players to reach a high score, and to create an end to the game.

I've been pondering this timer for the past couple days, and only finding resources in seconds. I tackled it today and couldn't quite get the minute countdown to work properly, but while I was watching Dan Schiffman's Coding Train Challenge for a Javascript Countdown Timer (only about a minute in) and my brain entered another realm, I figured out a way to fix the minute countdown... and it worked!!!!

Alas, here's the link to the sketch: Countdown Timer in p5.js

81 views0 comments

Recent Posts

See All
bottom of page