Skip to content

Add Blackboard Inspection at Runtime #363

@Motioneer

Description

@Motioneer

Problem statement

I am currently building the enemy AI for a tactical top-down shooter where I use a lot of Blackboard variables to coordinate fine grained Actions.

LimboAI worked great for me, only debugging at runtime was sometimes mystifying. Often I ask myself why certain actions do not behave as expected and almost always the problem is a different state of the blackboard.
As far as I could tell, the only method of debugging the current state of a blackboard at runtime is blackboard.print_state().

While this works, it is quite hard to manually look for the right variable and spot any problems.

Proposed solution

It would be lovely if the Debugger-Panel had an integrated Blackboard display, to be able to quickly cross reference values.
Even a simple table, with one row for each value would be a great help.
Maybe the row could flash, if the value changed as a nice bit of visual flavour.

Alternatives

I will in the meantime try to cobble together a custom display using blackboard.get_vars_as_dict() to make an ad-hock display.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions