I can see there is a getWidth and getHeight for bitmaps but no set equivalent. This would enable us to do everything, set up images and physics objects, all in one line of code, which we have got working except for the scaling of the images. Basically we want to pass in one size and the body and image would match which having a setWidth etc would allow us to do.
Cheers
Mike
Comments
You can use setScale:
1. Create init.lua
2. Implement Sprite:setSize function as:
Likes: misterhup
Thanks
Mike
http://www.sharksoupstudios.com