Readme update

This commit is contained in:
Philippe Roy 2022-04-06 22:33:16 +02:00
parent 641678c9a6
commit d31b3590ad
2 changed files with 11 additions and 11 deletions

View File

@ -8,10 +8,10 @@
- Auteur : Philippe Roy <phroy@phroy.org>
* 3D Assets :
- KayKit dungeon : Kay Lousberg - Creative Commons Zero, CC0) - www.kaylousberg.com
- KayKit medieval : Kay Lousberg - Creative Commons Zero, CC0) - www.kaylousberg.com
- KayKit Dungeon : Kay Lousberg - Creative Commons Zero, CC0) - www.kaylousberg.com
- KayKit Medieval : Kay Lousberg - Creative Commons Zero, CC0) - www.kaylousberg.com
- MCOTMC : Kay Lousberg - Creative Commons Zero, CC0) - www.kaylousberg.com
- Kenney td_kit : Kenney - Creative Commons Zero, CC0) - www.kenney.nl
- Kenney TD Kit : Kenney - Creative Commons Zero, CC0) - www.kenney.nl
* Sounds assets :
- Kenney Impact Sounds : Kenney - Creative Commons Zero, CC0) - www.kenney.nl

View File

@ -16,11 +16,11 @@ The game engine is [Blender](https://blender.org) - [UPGE](https://upbge.org).
Source repository (Gitlab ) : https://gitlab.com/phroy/codetower
Binaries (GNU/Linux and Windows) : [www.phroy.org](http://www.phroy.org/cloud/index.php/s/nyoWT6xMkxAJ9Pm).
Binaries (GNU/Linux and Windows) : [www.phroy.org](http://www.phroy.org/cloud/index.php/s/nyoWT6xMkxAJ9Pm)
### Tower commands
* 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)
- y position (integer)
- category (string) : "Archer tower", "Mage tower" or "Barrack" (not implemented)
@ -28,16 +28,16 @@ Binaries (GNU/Linux and Windows) : [www.phroy.org](http://www.phroy.org/cloud/in
- color (RGB model) : purple, turquoise, magenta, orange, yellow, green, red or [R, G, B, 1]
- style : square or round and version (A,B or C), exemple : 'square-A'
- Return boolean flag
- True : builded
- False : not builded
- Exemple : ct_build(1,1, "Archer tower", "Tower #1",yellow,"round-A")
- True : builded with error
- False : not builded (error)
- Exemple : ct_build(1,1, "Archer tower", "Tower \#1",yellow,"round-A")
* Remove a tower : ct_remove (x, y)
* **Remove a tower : ct_remove (x, y)**
- x position (integer)
- y position (integer)
* Get your level : ct_level ()
* **Get your level : ct_level ()**
- Return your level (integer)
* Time management (temporization) : ct_sleep (delay)
* **Time management (temporization) : ct_sleep (delay)**
- delay : delay in seconds (float)