🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Tilemap contour tracing library (final_tiletrace)

Started by
1 comment, last by Finalspace 6 years, 9 months ago

I released my tilemap tracing algorythmn for generating chain segments, which i had written a few years ago. Now its fully ported to standard C++ and works great.

This thing is used to produce actual connected line segments from a solid tilemap, so you can create proper physical shapes out of that for improving physics stability and performance.

 

The algorythm as its core is a contour tracing implementation which is normally used to automatic fill in pixel colors or detect contours but i extended it a lot to fit my needs.

 

You can find it in my game tech github repository (final_tiletrace.hpp), including a demo for seeing the tracing algoryhtm in action.

 

TODO:

  • Fix the documentations!
  • Move to a more C++ ish api

 

https://github.com/f1nalspace/final_game_tech

Advertisement

Update:

- Added a C++ class API

This topic is closed to new replies.

Advertisement