UNPKG

collider.jam

Version:

Hand-crafted and fun to use game framework for jamming, creative coding, and rapid game development

14 lines (10 loc) 248 B
// Planets counter function draw() { // set text output properties baseTop() alignRight() fill(.16, .5, .5) font('32px moon') // show how many planets are there text('Planets: ' + lib.planetCount(), rx(1) - 20, 20) }