Category: 

What is AngelScript?

Article Details
  • Written By: Jim Carroll
  • Edited By: Angela B.
  • Image By: ビッグアップジャパン
  • Last Modified Date: 19 November 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
The Argentinian resort town of Epecuén was submerged by flooding for years; it is now populated by one elderly man.  more...

December 5 ,  1933 :  Prohibition ended in the US.  more...

AngelScript, also known as Angelcode Scripting Language, was originally developed by Andreas Jönsson as a cross-platform scripting library. In other words, it allows you to write a script — a computer program — that will work the same regardless of the computer platform being used. It has been released under a zlib license, meaning it is available free to users.

AngelScript works by creating and running a virtual machine (VM) inside the computer, with the script then running on the VM. This means an AngelScript script will work the same on any computer platform — Windows, Macintosh, Linux, or other. The VM also allows the script to exchange data with other programs running on the computer. This means AngelScript can be used to extend or add capabilities to other programs that allow extensions to be added. An example would be an AngelScript scientific calculator script to evaluate a mathematical expression that, in turn, calls a graphics script that will display a graph of that mathematical expression.

AngelScript scripts are written using a C/C++ syntax, allowing anyone with some experience in using those languages to easily write a script. The AngelScript VM itself takes care of the details. That includes things such as memory management and pointers, which can cause problems when using C/C++.

Ad

It is designed to run on different platforms, so AngelScript is not available as an application you would download, install, and run, unless a third party has made it available as such. Normally, the user must download the source code, written in C/C++, and then compile it for a particular computer platform. As of December 2010, AngelScript platforms available included Win32®, Linux®, FreeBSD®, Mac OS X®, Dreamcast™, PlayStation® Portable, PlayStation® 2, PlayStation® 3, Xbox®, and Xbox 360®. Work was underway on VMs for the Windows® Mobile, Nintendo® DS, and Android™ platforms, but there was no information on when the VMs would be available on these platforms.

The ability to have a program work in the same way on different platforms makes AngelScript attractive to software publishers. Some games publishers are releasing games that have been written using AngelScript and include the AngelScript VM for the particular platform. This allows them to release the same game at the same time for different platforms. Development of AngelScript, and improvements in VMs for various platforms, is ongoing. An Internet search can help you find the most recent stable VM for your platform.

Ad

You might also Like

Recommended

Discuss this Article

Post your comments

Post Anonymously

Login

username
password
forgot password?

Register

username
password
confirm
email