Playground.js is a framework for your javascript based games. It gives you out-of-box access to essentials like mouse, keyboard, sound and well designed architecture that you can expand to your needs.
added missing .fill() method;
fixed .polygon() method, supporting default values of 0 for x and y;
fixed .fillPolygon() and .strokePolygon() methods, removing duplicate call to .beginPath().
Sorry if I mangled the whitespace in the file and fixed in the master branch. The thing is polygon is severely borked without these changes. Great work on playgroundjs!
added missing
.fill()
method; fixed.polygon()
method, supporting default values of 0 for x and y; fixed.fillPolygon()
and.strokePolygon()
methods, removing duplicate call to.beginPath()
.Sorry if I mangled the whitespace in the file and fixed in the master branch. The thing is polygon is severely borked without these changes. Great work on playgroundjs!