Shapes, objects and images

Hi guys!

Let me try to explain the problem I’m having with objects and images in CORONA SDK.

I’ve created a game that there are rocks falling down into a object(sun image below)
http://i42.tinypic.com/o7sosw.png

That’s okay. The sun image background is transparent(not in this case, I fill it out it with white to show you an example of the trouble I’m having)

When the rock reaches the object it collide with the transparent (square) image and not with the sun object itself.

So, obvious, I’ve to create a shape in the sun object to detect only and collide only with the object, the sun image itself and not the transparent/white part of the image.

That’s ok. But how-to?

Thank you guys.

  • my english sucks, sorry for any inconvenience in the understanding of my topic -

If this isn’t enough check out this video:
http://www.screencast.com/t/xSgBZxIy5oB [import]uid: 118103 topic_id: 22107 reply_id: 322107[/import]

draw a polygon around it in the shape you want. Use Physics Editor it can do that for you quite easily. [import]uid: 3826 topic_id: 22107 reply_id: 87954[/import]