Much like rotating, scaling of elements, especially image-based items like sprites and maps, would be most helpful for a range of applications.
Proposal:
As ctx.scale() works similarly to ctx.rotate(), the considerations presented in issue https://github.com/jarcane/minicosm/issues/3 are more or less equally applicable. Either a :scale element that applies the effect to its children, or else implemented per supported element as a property on the :image, :sprite, and :map elements.
Much like rotating, scaling of elements, especially image-based items like sprites and maps, would be most helpful for a range of applications.
Proposal: As
ctx.scale()
works similarly toctx.rotate()
, the considerations presented in issue https://github.com/jarcane/minicosm/issues/3 are more or less equally applicable. Either a:scale
element that applies the effect to its children, or else implemented per supported element as a property on the:image, :sprite, and :map
elements.