is corona supports splitting / exploding ( like flash ) / destructing physics body objects ?
[import]uid: 22024 topic_id: 5609 reply_id: 305609[/import]
is corona supports splitting / exploding ( like flash ) / destructing physics body objects ?
[import]uid: 22024 topic_id: 5609 reply_id: 305609[/import]
Can you point to a Flash example of what you mean?
[import]uid: 8196 topic_id: 5609 reply_id: 19147[/import]
i’m assuming you mean something like this
http://www.penguingames.info/icy-slicy.php
[import]uid: 6645 topic_id: 5609 reply_id: 19155[/import]
yes exactly. like ice breaker game or any other splitter games.
i couldnt find any documentation about this, is there any ? [import]uid: 22024 topic_id: 5609 reply_id: 19202[/import]
you would need to remove your physics body and make 2 new ones from the coordinates where the line intersects the shape. until setMask lets us use arbitrary shapes though (as opposed to PNGs), or until we have bitmapFill etc, I think you’ll struggle with being able to make 2 new grapical shapes out of your original
in the meantime read this
http://www.emanueleferonato.com/2008/11/05/the-engine-behind-splitter-flash-game/ [import]uid: 6645 topic_id: 5609 reply_id: 19265[/import]