Collision shapes scale problem - Resolved

Hello,

I've created simple collision shapes in Spriteloq, but when I create the sprites in Corona, the shapes seem to be larger than they should be.

For example, if I draw a bounding box to match my box image, when the image is loaded into my scene, the bounding box is around 40-50% larger than the image! Same with circular shapes too ...

Has anyone else had this problem?

Hi digitaloranges,

I haven't seen this issue. You say the shapes seem to be larger. Are you running in debug or hybrid mode to confirm? Can you post a sample?

I've emailed the samples to support (as they're images, the sprite sheet png and the lua file). I can continue the convo here for other peoples reference if you like.

Thanks for the files. I loaded the files into a sample, and the shapes look fine to me. I'll send the project to you.

Resolved! It was my fault, I'd forgotten the resize my assets for the standard iPhone resolution.

views:1404 update:2011/10/16 9:47:44
corona forums © 2003-2011