DAABBCC (Dynamic AABB Tree)

#1

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

#2

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

1 Like

#6

Core lib update

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

1 Like

listed #7
0 Likes

#8

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

#9

Wow, really cool! Well done!

3 Likes

#10

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

1 Like

#11

Nonsense and chaotic example

3 Likes