Splitting an Object via code

Hi,
If any of you have played, seen iSlash, or Fruit ninja, etc, you might have seen that the object can be split into various pieces based on where it is slashed. I am unable to put my head around this, I think it is all about creating a vector object, but the question is how to map it with the bitmap (if that’s the way).

Any pointers on how iSlash manages the object cut into smaller objects?

cheers,

Jayant C Varma [import]uid: 3826 topic_id: 3460 reply_id: 303460[/import]

on 2D games like iSlash or Splitter they’re generally using the polygon definition features of something like Box2D mixed with the platform’s capabilities of manipulating bitmap data (or possibally masking / bitmap fills etc). We don’t have these latter features in Corona yet. You could create the 2 new physics bodies but not the graphics.

[import]uid: 6645 topic_id: 3460 reply_id: 10437[/import]