Page 1 of 1

BTEditor : Graphical Behaviour Tree Editor

Posted: Thu Oct 25, 2012 11:57 am
by bartoleo
Hi,
i'm learning lot about Behaviour Trees
so I wrote a editor to draw them graphically

The editor source with instructions is on github:
http://github.com/bartoleo/BTEditor

The love file is here:
http://github.com/downloads/bartoleo/BT ... ditor.love

V 01.03 updated : 07 november 2012
screenshot
screenshot
BTEditor.png (118.08 KiB) Viewed 13997 times
07 november 2012 : Now with simulation

I'm working on the BT Engine :
BTLua http://github.com/github.com/bartoleo/BTLua)
still missing decorators with timeout (wait, waitcontinue, repeatuntil,sleep...)
with this you can :
instance from lua
instance from lua file
instance from lua/json file edited with BTEditor

Many thanks go to :
all of Love project and forums

Nikolai Resokov for awesome LoveFrames lib

vrld for hump lib

Bart van Strien for SECS class

Re: BTEditor : Graphical Behaviour Tree Editor

Posted: Thu Oct 25, 2012 12:50 pm
by shingo
SO interesting job

Re: BTEditor : Graphical Behaviour Tree Editor

Posted: Fri Oct 26, 2012 7:07 am
by ivan
Looks pretty cool. I like the approach of having generic action and condition nodes.
It seems to me a bit excessive though to have a full blown editor considering that the output files are so simple to edit (since they are plain Lua files).
Also, have you considered adding 'parallel' nodes in addition to sequences/selectors?
BTW, I've done some work with behavior trees that you might find interesting:
http://2dengine.com/doc_1_3/gs_ai.html
http://2dengine.com/doc_1_3/gs_ai2.html

Re: BTEditor : Graphical Behaviour Tree Editor

Posted: Fri Oct 26, 2012 7:35 am
by bartoleo
ivan wrote:It seems to me a bit excessive though to have a full blown editor considering that the output files are so simple to edit (since they are plain Lua files).
you're right...
but it was also an exercise and a way to learn LoveFrames...

Re: BTEditor : Graphical Behaviour Tree Editor

Posted: Mon Oct 29, 2012 11:06 am
by bartoleo
updated proj to v 01.00
ivan wrote:Also, have you considered adding 'parallel' nodes in addition to sequences/selectors?
about parallel nodes... I have problems undestanding it without adding multi-thread... +
sorry

Re: BTEditor : Graphical Behaviour Tree Editor

Posted: Wed Nov 07, 2012 2:06 pm
by bartoleo
07 november2012 : v.01.03 : adding simulator and fixing some errors ... BTLua Engine ... working (not yet complete... but working)