DAABBCC (Dynamic AABB Tree)

Small update and a bug fix

  • Small but important bug fixed in core aabb.cc library. That fix cause a ~25% speed gain. Speedup might be greater for situations where there are many slow moving, or static objects
  • A few bugs fixed in the platformer example source on Github.
  • RemoveAll is added. Now you can remove all AABBs from a tree.
    https://github.com/selimanac/DAABBCC#--removeall

Planning

2 Likes

Example updated on https://selimanac.itch.io/daabbcc-platformer

1 Like

Core lib update

Aabb.cc lib is updated. tinyc2 is removed and latest cute_c2.h is added

1 Like

Version 2.0

This is a complete rewritten version of daabbcc by using Box2D’s Dynamic Tree.

  • API revised and simplified
  • Nearly 6x performance increment according to v1.x (4800 sprites vs 500 sprites)
  • Low cpu usage
  • Experimental narrow phase collision detections removed
7 Likes

Wow, really cool! Well done!

3 Likes

Thank you. Still learning a lot but I think I made some progress for developing NEs using c++

1 Like

Nonsense and chaotic example

3 Likes