Point system implemented using Hype CommandPipeline

Syntax of the custom behavior:

awardPoints | 10
awardPoints | -100 , "ontimePenalty"

first parameter is the point number
second parameter (optional) is an ID to keep track of giving these points only once

Special CSS class:
assign the class pointDisplay to any container to set the inner HTML to the current points

Download Hype 4 example:
Point-System.hype.zip

Version-History:
1.0 Initial release as Hype-file with example

1 Like