Git Product home page Git Product logo

pacman's Introduction

Installation in Windows

  1. Install Dependencies:

Download and install Cmake for Windows
Download and install QT5 for Windows (the open source version is free)
Download and install python3 for Windows
2) Download the repository:

git clone https://github.com/btirai/pacmanBT.git

  1. Build the Software:

Run Cmake, set the project (pacmanBT) root folder and the desired build folder (your choice). Configure and generate project solution for your favorite IDE (e.g. Visual Studio 13). Then open the solution from your IDE and build the project.

Run in Windows

In a terminal, go to the build directory of the project and then run the following commands:

cd bt_editor

./behavior_tree_editor.exe

Alternatively, run the executable behavior_tree_editor.exe from File Explorer

Installation in Unix

  1. Install Dependencies:

sudo apt-get install build-essential libgl1-mesa-dev python3-tk qtdeclarative5-dev

  1. Download the repository:

git clone https://github.com/miccol/pacmanBT.git

  1. Build the Software:

Run in a terminal the following commands:

cd pacmanBT
mkdir build
cd build
cmake ..
make

Run in Unix

Run in a terminal the following commands:

cd bt_editor

./behavior_tree_editor

Verify your installation

-In the BT editor: File->Load
-Browse in the folder pacmanBT (the one you retrieved in step 2)
-Select the file pacmantree.xml
-A BT should appear in the editor, as in the picture below:

alt tag

-Press the Play icon.
-Enjoy

Create your Behavior Tree

Right Click in the editor to add a node. Press Play to run the BT Enjoy

NOTE: A BT must have the root node. It cannot have loose nodes (non-connected nodes).

pacman's People

Contributors

miccol avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.