Hot features

Top  Previous  Next

Files outside resource

"All files except WDL files can now also be read from outside a resource file". This is great news for everybody! Now you can send updated versions to your customers without sending again the whole package.

New particle system

Now the particles are treated like entities, so my_size becomes my.size and so on. The new "velocity" parameter is a vector that can be used to store the target, color, etc for that particle. This means that you can access every single particle and make it behave the way you want. New particle flags (beam, streak) are available - here are some of the effects I've obtained after 5 minutes of work using the templates.



Multiple parameters

Functions can now accept up to four parameters. This allows you to simplify your functions:

function player_health(health, armor, difficulty)
{
    return(health+0.5*armor-25*difficulty);
}

with health = 100 and armor = 100, player_health = 150 if difficulty = 0 (easy), 125 if difficulty = 1 (medium) and 100 if difficulty = 2 (hard).