I'd like to create a sequence of letters that can be broken apart. Ideally I'd only load one spritesheet to generate the views of the different letters. I am assigning images to the view of bodies as follows:
// letter is a physicsjs rectangle body
letter.view = new Image();
letter.view.src = 'someImage.jpg';
I'd like to now if there is a way to change the background position of a bitmap assigned to the view of a physicsjs body.
Try using the PIXI renderer for this.
You can then use pixi textures and sprites to do want.
Here's an example: http://codepen.io/wellcaffeinated/pen/ByKapK
Using this sprite: http://www.xojo3d.com/images/sprite1.png
PIXI.js texture docs: http://www.goodboydigital.com/pixijs/docs/classes/Texture.html