The new scripting engine in PGSDK is now based on the excellent paxCompiler by Virt Labs. Integration is pretty much completed now. There are just a few small remaining issues, but they should be resolved by the time the next version of PGSDK drops.

Here is an example what you can can now do with the new scripting features:

1. Full integration with PGSDK and your own native code.
2. Great interop between native and compiled script code (you can access native routines from script and script routines from native)
3. Generate standalone EXEs (GUI or CONSOLE) with version info and a default icon.

A demo showing these features can be found here.

* uScriptTest.pas - native code
* Scroll.pas - main script code
* uScroll.pas - demo code
* uUnit1/2.pas - units to show how multiple units can be compiled
* Scroll.exe - generated exe with version info and default icon (this example will be a GUI type EXE)

The result is a stand-alone win32 EXE than runs the 4-way scrolling demo in PGSDK at 60 fps with streaming music. What's cool too is that the very same uScroll.pas unit can be compiled between Delphi and the scripting engine with no code changes. SWEET! PGSDK is now using ECOM so all the classes from the DLL can easily be used and extended on the client side. SWEETx2!