all fruit.png new Sprite() texture packer + fruitJson(no external fruit.json link)
fruit.png is on zapp_path="zimjs.org/assets", but now I included the code to show how a sprite can be made without external json code.(because json code is only a little part of the code)
org: codepen.io/karelrosseel-prive/pen/bGXGXRW
by Karel RosseelORIGIN
org: codepen.io/karelrosseel-prive/pen/bGXGXRW