Closed magical-heyrovsky closed 1 year ago
https://github.com/replit/kaboom/blob/52763e7a2f1c57a96693e2c486133aab09d1a55d/examples/button.js#L42
But 3 arguments are required^1. Same here https://github.com/replit/kaboom/blob/52763e7a2f1c57a96693e2c486133aab09d1a55d/examples/collision.js#L115
rgb() is shorthand for rgb(255, 255, 255), added it to the docs!
rgb()
rgb(255, 255, 255)
Thanks. The definition is also missing in the kaboom.d.ts, that's how I noticed it:
https://github.com/replit/kaboom/blob/52763e7a2f1c57a96693e2c486133aab09d1a55d/examples/button.js#L42
But 3 arguments are required^1. Same here https://github.com/replit/kaboom/blob/52763e7a2f1c57a96693e2c486133aab09d1a55d/examples/collision.js#L115