{"id":60,"date":"2007-07-07T03:39:14","date_gmt":"2007-07-06T19:39:14","guid":{"rendered":"http:\/\/konsolscript.sf.net\/web\/?p=60"},"modified":"2009-06-03T04:02:20","modified_gmt":"2009-06-02T20:02:20","slug":"konsolscript-0170-released","status":"publish","type":"post","link":"http:\/\/konsolscript.sourceforge.net\/web\/2007\/07\/07\/konsolscript-0170-released\/","title":{"rendered":"KonsolScript 0.1.70 released"},"content":{"rendered":"
This news is rather late but ‘who’ cares.<\/p>\n
This latest release is still focused the Map class usage. The engine now implements the use of obstruction<\/a>.<\/p>\n It is also packed with lots of bug fixes. A lot of them probably made you sick with debugging your script but it’s the engine that had the problem. Thanks for the reports.<\/p>\n Some tweaks have been done, like: A plugin, that resembles the GreenFoot’s turtle project, is added to implement such request.<\/p>\n test this script: <\/span>Var<\/span>:<\/span>Number <\/span>nCtr1<\/span>,<\/span>nCtr2<\/span>,<\/span>colorWHITE<\/span>;<\/p>\n <\/span>function <\/span>main<\/span>() <\/span>{ <\/span>Konsol<\/span>:<\/span>RGB<\/span>(<\/span>255<\/span>,<\/span>255<\/span>,<\/span>255<\/span>,<\/span>colorWHITE<\/span>)<\/span>\/\/create a color white<\/p>\n <\/span>PenColor<\/span>(<\/span>colorWHITE<\/span>) <\/span>\/\/assign to pen color <\/span>\/\/relocate the turtle position <\/span>\/\/start the fun <\/span>for<\/span>(<\/span>nCtr1<\/span>=<\/span>1<\/span>;<\/span>nCtr1<\/span><<\/span>50<\/span>;<\/span>nCtr1<\/span>++) <\/span>{ <\/span>for<\/span>(<\/span>nCtr1<\/span>=<\/span>1<\/span>;<\/span>nCtr1<\/span><<\/span>40<\/span>;<\/span>nCtr1<\/span>++) <\/span>{ <\/span>PenUp<\/span>() <\/span>\/\/pause… As always, KonsolScript is released in three zip files for tree different user-groups: a binary distribution for the alpha testers source distribution for the researchers and an end-user distribution for the beta testers
\n– able to set StartScript with a dotKS extension
\n– creating some libraries that depends on external graphics to be added to engines search path. With this, it is possible to create plug-ins.<\/p>\n
\n#include “pagong!dll” <\/span>\/\/include the plug-in<\/p>\n
\n <\/span>Init_Pagong<\/span>() <\/span>\/\/let the library load necessary images<\/p>\n
\n <\/span>SetSpeed<\/span>(<\/span>10<\/span>)<\/p>\n
\n <\/span>MoveForward<\/span>(<\/span>100<\/span>)
\n <\/span>MoveEast<\/span>(<\/span>75<\/span>)<\/p>\n
\n <\/span>for<\/span>(<\/span>nCtr2<\/span>=<\/span>0<\/span>;<\/span>nCtr2<\/span><<\/span>7<\/span>;<\/span>nCtr2<\/span>++) <\/span>{
\n <\/span>PenDown<\/span>()<\/p>\n
\n <\/span>MoveWest<\/span>(<\/span>2<\/span>)
\n <\/span>MoveSouth<\/span>(<\/span>2<\/span>)
\n <\/span>}
\n <\/span>MoveWest<\/span>(<\/span>10<\/span>)<\/p>\n
\n <\/span>MoveEast<\/span>(<\/span>2<\/span>)
\n <\/span>MoveNorth<\/span>(<\/span>2<\/span>)
\n <\/span>}<\/p>\n
\n <\/span>MoveWest<\/span>(<\/span>10<\/span>)
\n <\/span>}<\/p>\n
\n <\/span>while<\/span>(<\/span>B1 <\/span>EQ <\/span>false<\/span>) <\/span>{ <\/span>\/*do nothing*\/ <\/span>}
\n<\/span>}<\/span><\/p>\n
\n(http:\/\/sourceforge.net\/project\/showfiles.php?group_id=164830&package_id=186723&release_id=447623<\/a>)<\/p>\n
\n(http:\/\/downloads.sourceforge.net\/konsolscript\/konsolscript_0_1_70_bin.zip<\/a>).<\/p>\n
\n(http:\/\/downloads.sourceforge.net\/konsolscript\/konsolscript_0_1_70_src.zip<\/a>)<\/p>\n
\n(http:\/\/downloads.sourceforge.net\/konsolscript\/konsolscript_0_1_70_setup.zip<\/a>)<\/p>\n