BTEditor : Graphical Behaviour Tree Editor

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
bartoleo
Party member
Posts: 118
Joined: Wed Jul 14, 2010 10:57 am
Location: Savigliano

BTEditor : Graphical Behaviour Tree Editor

Post by bartoleo » Thu Oct 25, 2012 11:57 am

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
BTEditor.png
screenshot
BTEditor.png (118.08 KiB) Viewed 5261 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
Last edited by bartoleo on Wed Nov 07, 2012 2:05 pm, edited 6 times in total.
Bartoleo

User avatar
shingo
Prole
Posts: 12
Joined: Tue Nov 22, 2011 2:55 am

Re: BTEditor : Graphical Behaviour Tree Editor

Post by shingo » Thu Oct 25, 2012 12:50 pm

SO interesting job

User avatar
ivan
Party member
Posts: 1479
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: BTEditor : Graphical Behaviour Tree Editor

Post by ivan » Fri Oct 26, 2012 7:07 am

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

User avatar
bartoleo
Party member
Posts: 118
Joined: Wed Jul 14, 2010 10:57 am
Location: Savigliano

Re: BTEditor : Graphical Behaviour Tree Editor

Post by bartoleo » Fri Oct 26, 2012 7:35 am

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...
Bartoleo

User avatar
bartoleo
Party member
Posts: 118
Joined: Wed Jul 14, 2010 10:57 am
Location: Savigliano

Re: BTEditor : Graphical Behaviour Tree Editor

Post by bartoleo » Mon Oct 29, 2012 11:06 am

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
Bartoleo

User avatar
bartoleo
Party member
Posts: 118
Joined: Wed Jul 14, 2010 10:57 am
Location: Savigliano

Re: BTEditor : Graphical Behaviour Tree Editor

Post by bartoleo » Wed Nov 07, 2012 2:06 pm

07 november2012 : v.01.03 : adding simulator and fixing some errors ... BTLua Engine ... working (not yet complete... but working)
Bartoleo

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests