-
-
Notifications
You must be signed in to change notification settings - Fork 4
Initialize DAABBCC
selimanac edited this page Oct 9, 2024
·
10 revisions
All arrays are now pre-allocated, similar to how Defold handles them. Arrays will no longer grow dynamically, so it is your responsibility to set them up upfront. Initialization should only be done once.
max_group_count = 3
max_gameobject_count = 128
max_query_result_count = 32
max_raycast_result_count = 32
Open your game.project
file using a text editor, copy and paste the settings below, and adjust them as needed.
[daabbcc]
max_group_count = 3
max_gameobject_count = 128
max_query_result_count = 32
max_raycast_result_count = 32
Parameters
-
max_group_count
(uint8) - Maximum number of Groups. Default is 3. -
max_gameobject_count
(uint16) - The maximum number of gameobjects that can be added usingdaabbcc.insert_gameobject()
. Default is 128. -
max_query_count
(uint16) - Maximum number of Query result for a single AABB. Default is 32. -
max_raycast_count
(uint16) - Maximum number of Raycast result for a single raycast. Default is 32.
If you find my Defold Extensions useful for your projects, please consider supporting it.
I'd love to hear about your projects! Please share your released projects that use my native extensions. It would be very motivating for me.