Readme update

This commit is contained in:
Philippe Roy 2022-04-26 11:15:43 +02:00
parent 3c77dd3e84
commit fcbf9f1b51

View File

@ -20,8 +20,14 @@ The game engine is [Blender](https://blender.org) / [UPGE](https://upbge.org).
* Binaries repository (GNU/Linux and Windows) : [www.phroy.org](http://www.phroy.org/cloud/index.php/s/nyoWT6xMkxAJ9Pm)
### Python script
The Python script is the file **ct_cmd.py** (in the game folder), you have to edit it with your favorite editing software (Spyder, Emacs, Atom, ...).
### Map commands
The level points will be spent for build or upgrade. So you have to know your level before action.
* **Get your level : ct_level ()**
- Return your level (integer)
@ -34,8 +40,6 @@ With your Python script, you can build, remove and upgrade your towers.
For each tower, you will be able to choose dynamically most appropriate techno (archer tower) or spell (mage tower).
The Python script is the file **ct_cmd.py** (in the game folder), you have to edit it with editing software (Spyder, Emacs, Atom, ...).
* **Build a tower : ct_build (x, y, category, name, color, style)**
- x position (integer)
- y position (integer)