agrfun 1.0.0

Download zip

class: Fireworks

[41:7] extends: object

A display of fireworks across the AGR FXGL window. Build one and call run(). Several shells go off at random points in the upper part of the window, spread over a couple of seconds. Each throws out a ring of coloured sparks that arc away, fall under gravity, and fade to nothing the way a real firework does. The numbers at the top of the class are the dials. Change them to alter the display.

Members

Methods