How do you size sprites and objects correctly?

Hi there,

I’m trying to make a simple shoot 'em up (for practice, mostly) but I’m already kind of stuck on one of the early steps - how do you figure out what size to make the sprites? Is there a best practice for this?

So far I’ve used the iPhone 5 skin in the simulator to try to roughly estimate how big I want to make an object/sprite (and based on the 320 x 568 screen size) and then created blah, blah@2x, and blah@4x image sizes. But I don’t know what dimensions to put in the display.newImageRect(“images/badguy_”…imageInt…".png",50,54) line - is it supposed to be the smallest size? And is this the correct way to size objects?

Thanks!

Yeah, pass the normal dimensions of the image and Corona will figure out (based on your config.lua) which size to select.    

http://docs.coronalabs.com/guide/basics/configSettings/index.html

Yeah, pass the normal dimensions of the image and Corona will figure out (based on your config.lua) which size to select.    

http://docs.coronalabs.com/guide/basics/configSettings/index.html