• Advertisement
Sign in to follow this  

cocos2d-x polygon touch and physics sample

This topic is 705 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. Create equilateral polygons with cocos2d-x and I created a simple example of touching the polygon. I use this algorithm as touching polygons. http://alienryderflex.com/polygon/

 

screenshot :https://camo.githubusercontent.com/5ec976437e46facd2e8cd0b2fff4a46ca5f94f9b/687474703a2f2f692e68697a6c69726573696d2e636f6d2f70505931614a2e6a7067

 

code: https://github.com/indatawetrust/cocos2d-x-polygon

 

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement