English doc - Printable Version +- Colobot Forum - International Colobot Community (https://colobot.info/forum) +-- Forum: [Archive] New forum (2015-2019) (https://colobot.info/forum/forumdisplay.php?fid=76) +--- Forum: Others (https://colobot.info/forum/forumdisplay.php?fid=67) +---- Forum: Introduce Yourself (https://colobot.info/forum/forumdisplay.php?fid=69) +---- Thread: English doc (/showthread.php?tid=608) |
English doc - lmisi - 05-13-2015 Hi there! I extracted the programing help from game. I tried to reorganize it (a little). Beginig with a some kind of table of contents. I extended a bit, for example: Type null Special value Type nan Not number Type file File class o Syntax Semicolon usage Logical operator (and, or, not) Comparisons (<, >, ==, !=, <=, >=) download: https://www.dropbox.com/s/d84anf3i8itanwd/Colobotdocumentation.pdf?dl=0 https://www.dropbox.com/s/dee03zlpcel8j35/Colobotdocumentation.odt?dl=0 https://www.dropbox.com/s/ee9n5o7tfoy4s2x/Colobotdocumentation.zip?dl=0 RE: English doc - tomaszkax86 - 05-13-2015 Looking good, nice work. We added some new stuff to CBot, like recently atan2() and rounding functions. Could you document them as well? We lack proper documentation of existing stuff and we could really use some help with that. RE: English doc - lmisi - 05-14-2015 (05-13-2015, 05:43 PM)tomaszkax86 Wrote: Looking good, nice work. We added some new stuff to CBot, like recently atan2() and rounding functions. Could you document them as well? We lack proper documentation of existing stuff and we could really use some help with that. Thank you. Yes, I'll made the necessary changes probably next week. RE: English doc - lmisi - 05-27-2015 (05-13-2015, 05:43 PM)tomaszkax86 Wrote: Looking good, nice work. We added some new stuff to CBot, like recently atan2() and rounding functions. Could you document them as well? We lack proper documentation of existing stuff and we could really use some help with that. The release (development) version's keyboard (hungarian) is not working properly for me on win7 64 bit pc. For example: No semicolon on keyboard, and froze when I save a scricpt. Thus I can't test the atan2 function fully. The round, trunc is more simple. I added the Specific math instructions section: abs Absolute value rand Random number round Rounds x to the nearest integer (Release version only) trunc Return the Real value x truncated to an Integral (Release version only) pow pow(x, y) x power y sqrt Square root acos Cosine asin Arcsine atan Arc tangent atan2 Arctangent of the quotient of its arguments (Release version only) cos Cosine sin Sine tan Tangent Files: pdf: https://www.dropbox.com/s/d9uxjebwmqkrnoy/Colobotdocumentation_20150527.pdf?dl=0 odt: https://www.dropbox.com/s/ms0pk740kuab2tp/Colobotdocumentation_20150527.odt?dl=0 html: https://www.dropbox.com/s/9asxwp8354d7i6k/Colobotdocumentation_20150527.zip?dl=0 |