Skip to content

The Scripting module of the Athena Game Framework

License

Notifications You must be signed in to change notification settings

Kanma/Athena-Scripting

Repository files navigation

********************************************************************************
*                                                                              *
*                               Athena-Scripting                               *
*                                Version 1.1.4                                 *
*                     http://github.com/Kanma/Athena-Scripting                 *
*                                                                              *
********************************************************************************


---------------------------------------
- Summary
---------------------------------------

Athena-Scripting is one of the modules of the Athena Game Framework, in the form
of a library written in C++.

This module provides all the necessary tools to embed the V8 JavaScript Engine
(http://code.google.com/p/v8/) in Athena, and execute JavaScript commands.

This module can be used as a standalone library, or combined with the rest of
the Athena Game Framework (http://github.com/Kanma/Athena-Framework).

The use of this module is optional, you can choose to implement your own
scripting solution instead, or to not use one at all.


---------------------------------------
- Dependencies
---------------------------------------

Athena-Scripting requires the following dependencies:

   - XMake
   - Athena-Math
   - Athena-Core
   - V8
   - UnitTest++
   - rapidjson

They are provided as GIT submodules of this repository and will be compiled
automatically during the compilation of Athena-Scripting.

To download them, do:

    somewhere$ cd <path/to/the/source/of/Athena-Scripting>
    Athena-Scripting$ git submodule init
    Athena-Scripting$ git submodule update


---------------------------------------
- Compilation
---------------------------------------

(Note: you'll need to install CMake to compile Athena-Scripting)

To compile Athena-Scripting (and all its dependencies), do:

    somewhere$ mkdir build
    somewhere$ cd build
    build$ cmake <path/to/the/source/of/Athena-Scripting>
    build$ make

The library will be put in build/bin/


---------------------------------------
- License
---------------------------------------

Athena-Scripting is is made available under the MIT License. The text of the
license is in the file 'LICENSE'.

Under the MIT License you may use Athena-Scripting for any purpose you wish,
without warranty, and modify it if you require, subject to one condition:

   "The above copyright notice and this permission notice shall be included in
   all copies or substantial portions of the Software."

In practice this means that whenever you distribute your application, whether as
binary or as source code, you must include somewhere in your distribution the
text in the file 'LICENSE'. This might be in the printed documentation, as a
file on delivered media, or even on the credits / acknowledgements of the
runtime application itself; any of those would satisfy the requirement.

Even if the license doesn't require it, please consider to contribute your
modifications back to the community.

About

The Scripting module of the Athena Game Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published