Hasen't been an update in a while due to the fact that I've gone and made a
major overhaul to the script engine. The engine now "compiles" the script to a byte-code for faster processing. Working quite well so far...
I also added support for STRING variable types which will allow me to include the DarkBASIC commands that return string values. I've also made the syntax of the script files more strict for better type checking. Right now, the compiler does very little error/type checking, but I'll add that soon.
I haven't got a new download up just yet, but I'll post an update when I do.
An example of a script using Transform-i:
<<GLOBALVARIABLES>>
number xPos
number yPos
<<CODE>>
xPos = object_position_x(1)
yPos = object_position_y(1)
if (leftkey()) {
xPos = xPos - 0.5
}
if (rightkey()) {
xPos = xPos + 0.5
}
if (upkey()) {
yPos = yPos + 0.5
}
if (downkey()) {
yPos = yPos - 0.5
}
position_object 1, xPos, yPos, 0.0
More updates soon.