Gang,
I have been using graphics.newOutline for a while and it has been working great. However, I have been stumped because for this one rock it refuses to outline it. I have recently discovered Blender and created a 3D rock for my game and saved it as an RGBa 8 bit png file. Threw that into photoshop and cropped it and saved it again with a transparent background as an RGB 8 /bit png file. When I load it with this:
self.imageoutline = graphics.newOutline (2,imagefile)
it just wont outline the rock properly. I have tried many things over the past couple days. Too many to mention really. If you can see my screen shot above it just gets pieces of it. Varying the number helps but doesn’t actually fix the problem. It seems to have problems with this round image. I tried making a simple circle and it seemed to have problems with that as well. When I make 2 of the edges straight it seems to work. I was wondering if the program has problems with circles but that doesn’t make sense because my round fish seem to outline OK.
If someone could help that would be great. I would like to add lots of these rocks in varying sized and I don’t really have time to hand vector them all.
Thanks, Sweet