by Greg Douglas
A embedded scripting language that is intended for use in game and tool applications.

What is GameMonkey Script?

GameMonkey is a embedded scripting language that is intended for use in game and tool applications. GameMonkey is however suitable for use in any project requiring simple scripting support. GameMonkey borrows concepts from Lua (www.lua.org), but uses syntax similar to C, making it more accessible to game programmers. GameMonkey also natively supports multithreading and the concept of states.

What are the key features of GM?

  • Small code base.
  • Compile source code at run time, or link to precompiled libs.
  • Lightweight, native threading (coroutines).
  • Soft real-time incremental garbage collection. Controllable memory footprint. No painful reference counting.
  • Easy to bind C++ functions and call script from C++.
  • Runtime debugging and reflection support.
  • C style syntax.
  • Competitive performance when compared to other scripting languages for both CPU and Memory usage. Speed is a trade off for flexibility and simplicity.
  • Easily modifiable as it is written in C++ and uses Flex and Biso
OnDoorTriggerEnter = function(door, objEntering)
{
  if(objEntering == player && !door.IsOpen())
  {
    door.Open();
    return true;
  }
  return false;
};
Information updated 12/27/19
Note: This entry has not yet been moderated.
View Comments