Skip to content
Jamie Bayne edited this page Feb 13, 2014 · 5 revisions

This will hopefully be a brief introduction on how to start using Tank.

Getting Tank

###Download To download Tank, simply clone it as you would any other repository:

git clone http://github.com/Gazok/Tank.git

or

git clone [email protected]:Gazok/Tank.git

###Dependencies This section should instruct user on installing dependencies.

Tank's dependencies:

  • SFML 2.1
  • Boost (Headers only)
  • CMake

###Setup To ease setup, Tank comes with distribution scripts which set up a new project.

Navigate to Tank/dist and run the Tank script most suitable for your platform (.exe, .run, or .py). You will be asked to name your game. On Linux, the script will automatically download Tank's dependencies. It will then create a folder Tank/dist/MyGame containing an empty build directory, Tank itself, and a src directory containing the kernel of any Tank game.

N.B. You can now move the MyGame folder out of Tank/dist if you so desire

Your First Tank Game

To build your game, simply cd into the build dir and run CMake on the parent directory:

cd MyGame/build
cmake ..
make
./MyGame

This section should contain links to further tutorials.

Clone this wiki locally