Township


Township is a Castle Defence style game with an RTS twist.You must defend your town from hordes of incoming enemies, whilst keeping the town itself functioning. As well as gathering resources to support the construction of defences and expansion of the town, you will need to maintain an army to defend against the enemy. How long can you hold out?

For now, the latest pre-alpha version's source can be found here.

Install Instructions


Since the game is so early in development, I cannot guarantee any kind of stability. If you come across a bug I would very much like the error generated if possible, and instructions on how to recreate it. I can however say that the Linux version is far more likely to work properly, as I have not yet fully tested on Windows.

On Linux:

First download the township-pre-alpha-0.2.zip from the link above. Then extract the source code from the zip archive to a place of your choosing. Make sure you have python3.1 and pygame on your machine.

Open a terminal session then:
  • User> cd 'directory you extracted to'
  • User> python3 dgp.py
If python3 dgp.py doesn't work then use the correct environment variable to launch the python interpreter, or point to it directly.

On Windows:

You have three options, either the 64-bit installer or the 32-bit installer, or you can install Python 3 and Pygame 1.9 and run from the source code using the Python interpreter (as with Linux). If in doubt, use the 32-bit installer.

Readme/Notes


Click new game to start a new game.

New villagers are trained by selecting a fire and pressing t.

FOR BUILDINGS:

To build, select a villager then press
  • f = campfire (used for recruiting villagers)
  • w = wall (defensive structure)
  • p = farm plot (used to gather food)
  • h = house (used to provide space for 5 soldiers)
  • a = armoury (right click with a villager selected to arm/disarm)

To gather resources, left click a villager(s) and right click a farm plot, tree or stone outcrop to gather.

Armed villagers are stronger than unarmed villagers. Unarmed villagers will be slaughtered by creeps.

I'll update the .zip when I have fixed some of the pretty big problems, for example the creep movement.

Each house you build allows you to have 5 extra soldiers/armed villagers.

You begin with a limit of 5 armed villagers.

Ignore score. It has a mind of its own right now.

Oh and shift+left click to select multiple units.