Jump to content
  • Advertisement
Sign in to follow this  

cocos2d-x polygon touch and physics sample

This topic is 855 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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!