Closed mrozbarry closed 5 years ago
Looks great man!
I have one question - I've been thinking that some items could have an arbitrary z-index. For example, we can set a decoration to either be above (parentZIndex -1
) or below (parentZIndex + 1
) the parent block, as some decorations look better in front (e.g. shrub) or behind (stone) the parent.
I'm not sure how we'd do this using the current drawImage
(maybe add another addOperation
call, like drawImageAtZIndex
, or an optional passed to drawImage
) - but as it's such a minor enhancement it can obviously wait :)
Merge it :D
@johnblackspear Might be space for context.atZ(ArbitraryZValueHere, (tweak) => {})
, but we'll worry about implementing that when we need it.
Tasks
[operationName, ...arguments]
Tickets