Base on User Drawing Create Polygon Body as well Image
Posted
by
Siddharth
on Game Development
See other posts from Game Development
or by Siddharth
Published on 2012-12-18T16:41:32Z
Indexed on
2012/12/18
17:15 UTC
Read the original article
Hit count: 187
In my game, I want to provide a user with drawing feature. By free hand drawing user create a polygon shape. So in my game implementation I have to create body for all found vertices and I have to generate image based on that polygon shape.
So my problem is how to create image that match the user provided vertices. In cocos2d I listen that there is an implementation of something like Image Masking. But I don't understand how that thing I implement in andengnine. Please provide any guidance on how to create image same as user generated polygon shape.
© Game Development or respective owner