GameMonkey Script
   HOME

TheInfoList



OR:

{{Portal, Free and open-source software GameMonkey Script is a small,
cross-platform In computing, cross-platform software (also called multi-platform software, platform-agnostic software, or platform-independent software) is computer software that is designed to work in several computing platforms. Some cross-platform software ...
scripting language A scripting language or script language is a programming language that is used to manipulate, customize, and automate the facilities of an existing system. Scripting languages are usually interpreted at runtime rather than compiled. A scripti ...
designed for embedding into games. GameMonkey bears many similarities to
Lua Lua or LUA may refer to: Science and technology * Lua (programming language) * Latvia University of Agriculture * Last universal ancestor, in evolution Ethnicity and language * Lua people, of Laos * Lawa people, of Thailand sometimes referred t ...
, except the syntax is more similar to that of C.


History

GameMonkey Script was written in 2002 by Matthew Riek and Greg Douglas as part of a closed-source project for Auran Development. However, on 12 June 2003 Auran granted license for the full source code of GameMonkey to be released to the public under the
MIT License The MIT License is a permissive free software license originating at the Massachusetts Institute of Technology (MIT) in the late 1980s. As a permissive license, it puts only very limited restriction on reuse and has, therefore, high license co ...
. It is currently being used in commercial and hobby applications on a wide range of machines, from the Windows PC, Apple Mac, and Microsoft Xbox to Sony's PlayStation 2, PlayStation 3, Nintendo GameCube, Nintendo DS, Nintendo Wii and various distributions of Linux.


Features

* A cross-platform machine library * C-style syntax * A small memory footprint (~50 KB) * Soft, real-time incremental
garbage collection Waste collection is a part of the process of waste management. It is the transfer of solid waste from the point of use and disposal to the point of treatment or landfill. Waste collection also includes the curbside collection of recyclable ...
(''no reference counting)'' * Native threading * Full implementation of states * Simple binding with C++ code * Debugger support (with supplied debugger) Like Lua, the primary
data structure In computer science, a data structure is a data organization, management, and storage format that is usually chosen for Efficiency, efficient Data access, access to data. More precisely, a data structure is a collection of data values, the rel ...
in GameMonkey Script is the table. Tables allow for a variety of other data structures to be created; from arrays, sets, hashmaps, lists and records. They can also be used to simulate namespaces and C++ class structures, containing both functions and properties.


External links


GameMonkey Script homepage

gmCommunity Project
pre-built GM binaries and reorganised headers
gamedev.net
Introduction to GameMonkey Script Part 1
gamedev.net
Introduction to GameMonkey Script Part 2
gamedev.net
Introduction to GameMonkey Script Part 3 Scripting languages Software using the MIT license