Shark 3D scripting

1. Python

"[Python] keeps us several steps ahead of competitors ...
I estimate that Python makes our coders 10 times more productive than Java programmers, and 100 times more than C programmers."

Curt Finch, CEO, Journyx

The Shark 3D Python integration bings the power of Python into Shark 3D.

Python is a synonym for productivity: Many developers report being up to ten times faster with Python than with C# or Java.

Also take advantage of the Python modules: They offer many features for basically everything from internet protocols to database access.

Python can be used for scripting, but of course Python is a "full" language which can be used for large and complex projects.

2. Perch™

Perch™ scripting language

Perch™ is a simple proprietary scripting language for Shark 3D.

Simplicity

Perch™ is seamlessly integrated into Shark 3D. Perch™ is designed to be easy to use by level designers. Perch™ has a simple syntax and is easy to learn.

Compiled into efficient bytecode

Perch™ is compiled into a compact bytecode. This bytecode is executed efficiently by the Perch™ runtime bytecode interpreter. In addition, also the Perch™ interpreter itself and its runtime memory usage is very compact. This is especially important for consoles, where memory is a scarce resource.

Full Unicode support

Perch™ consistently uses Unicode. Internally, a compact UTF-8 representation is used, avoiding wasting of memory.

Live editing scripts

Perch™ is seamless supports Live editing the running console and PC game. You can modify scripts while the game is running.

3. Safety

Scripting is safe. This includes for example:

  • You cannot create memory leaks by scripting.
  • You cannot create dangling object references.

4. Accessing C++ code from scripting

It is very easy to write new C++ code which can be accessed from scripting.