How to create a countup timer in WoofJS

2D Game Design with WoofJS

🕑 This lesson will take about 5 minutes

In this lesson, you will learn how to create a timer that counts up in WoofJS like the one below.

Go to woofjs.com and create a new project. Use the code below to create a count-up timer and customise it as you like. Pay attention to the comments in the code explaining how it works.