ecj2 / momo

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

Be able to resize the main canvas #2

Closed ecj2 closed 6 years ago

ecj2 commented 6 years ago

Calling Momo.setCanvas() again works for dynamically resizing the main canvas when needed, but a more elegant approach would be preferred. Perhaps something like Momo.resizeCanvas() and/or Momo.setCanvasWidth() and Momo.setCanvasHeight() would suffice.