Skip to content
selimanac edited this page Oct 8, 2024 · 12 revisions

Installation

You can use the DAABBCC extension in your own project by adding this project as a Defold library dependency.
Open your game.project file, select Project and add a Dependencies field:

https://github.com/selimanac/defold-daabbcc/archive/refs/heads/v2.1.zip <- TODO 3.0

or you can add stable versions from releases.

Examples

Flappy Bird Clone: https://github.com/selimanac/DAABBCC-Flappybird-Example
Breakout: https://github.com/selimanac/DAABBCC-Breakout-Example

Migrtating from v2.x to v3.x

  • You might need to initialize new version if the default values are not enough. More info
  • Module name has been changed from aabb to daabbcc. You can replace all aabb. to daabbcc.
  • Replace aabb.insert() to daabbcc.insert_aabb()
  • Replace aabb.clear() to daabbcc.reset()
  • Replace aabb.update_gameobject() to daabbcc.update_gameobject_size()
  • Replace aabb.query() to daabbcc.query_aabb()
  • aabb.remove_gameobject() is removed. daabbcc.remove() is now can be used for aabb and Gameobjects.

Discussions & Release Notes

https://github.com/selimanac/defold-daabbcc/discussions

Documentation

https://github.com/selimanac/defold-daabbcc/wiki

Notes

  • Performance is heavily dependent on CPU load.
Clone this wiki locally