The compiler in the latest version of PPL (pre-release beta 8) (which will come out very soon) has gone through a few little but very important changes:
1. The ^ operator is now used (just like C) as a bitwise-exclusive OR.
2. The @ is replacing the operator ^ old behavior.
3. |=, &= and ^= are now possible.
4. A bunch of the sprite's functions have been replaced or removed with the much easier SetSpriteOptions(), AddSpriteOption(), DelSpriteOption() and SpriteOptions() functions.
Instead of having functions like:
You can now easily add or remove status flags using the:
1. The ^ operator is now used (just like C) as a bitwise-exclusive OR.
2. The @ is replacing the operator ^ old behavior.
3. |=, &= and ^= are now possible.
4. A bunch of the sprite's functions have been replaced or removed with the much easier SetSpriteOptions(), AddSpriteOption(), DelSpriteOption() and SpriteOptions() functions.
Instead of having functions like:
- Code:
SetSpritePaused(sprite$, true);
SetSpriteFixed(sprite$, false);
You can now easily add or remove status flags using the:
- Code:
AddSpriteOption(sprite$, SO_PAUSED);
DelSpriteOption(sprite$, SO_FIXED);