mirror of
https://forge.apps.education.fr/phroy/codetower.git
synced 2024-01-27 11:35:17 +01:00
Readme update
This commit is contained in:
parent
3c77dd3e84
commit
fcbf9f1b51
@ -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)
|
* 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
|
### 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 ()**
|
* **Get your level : ct_level ()**
|
||||||
- Return your level (integer)
|
- 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).
|
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)**
|
* **Build a tower : ct_build (x, y, category, name, color, style)**
|
||||||
- x position (integer)
|
- x position (integer)
|
||||||
- y position (integer)
|
- y position (integer)
|
||||||
|
Loading…
Reference in New Issue
Block a user