I want the browser library to provide a stateful sprite-sheet helper used as var map = new…
I want the browser library to provide a stateful sprite-sheet helper used as var map = new…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). map.sprite(...) should accept one or more plain configuration objects and merge them into a single animation description…
The task
`map.sprite(...)` should accept one or more plain configuration objects and merge them into a single animation description. For `map.sprite({ width: 16, height: 32 }, { name: 'walk', origin: [0, 64], numFrames: 3 })`, it should return an object with `name: 'walk'`, `numFrames: 3`, and three frames: `{ x: 0, y: 64, w:…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.