ecj2 / momo

[NOT MAINTAINED / ABANDONED] A simple 2D game-making library written in JavaScript.
MIT License
1 stars 0 forks source link

Get the main canvas' contents as a bitmap #10

Closed ecj2 closed 6 years ago

ecj2 commented 6 years ago

It is sometimes useful to get the entire canvas' contents as a bitmap. This is currently possible through manually drawing everything to buffer bitmaps, but it would be more convenient to be able to get the canvas as a bitmap at any time through one method call.