User Tools

Site Tools


Start Page » DragonScript Script Module


DragonScript is a general purpose scripting language with a set of modules developed specifically for writing games. Its design was driven by the following guidelines:

  • Simple syntax with little amount of keywords and quick to type
  • Strongly typed
  • Fully object oriented (Integer is an object albeit optimized)
  • Easy integration into C++ based projects (no C-style wrapping hacks and no singleton hacks)
  • Strict forward parsing (no look-ahead nor looking back so well suited for compile-on-streaming)
  • Block support with closure (no invisible class hacks or complicated functors or lambda expressions)
  • Transparent support for native functions

Information about the APIs can be found here: DragonScript API Documentation



Visual Studio Code Extension

For Visual Studio Code there exists an Extension to do Syntax Highlighting. To install go to the “Extension Manager” in your Visual Studio Code and search for “dragonscript”. The plugin is named “DragonScript Language Support”.

You can also look at the extension source code. There you can also download the VSIX files in case you need to manually install it:

API Documentation

Source Code

Getting Started

Wiki pages containing information on how to get started with using the DragonScript Script Module to create games with. For Drag[en]gine general topics see Game Development with the Drag[en]gine.

Implementation Details

Wiki pages containing detailed implementation information about topics specific to DragonScript. For Drag[en]gine general topics see Game Development with the Drag[en]gine.

Script Examples

Wiki pages outside the DragonScript area containing DragonScript example scripts.

Demo Projects

Included are also Demo Projects to look at scripts or using as starting base.

You could leave a comment if you were logged in.
dragengine/modules/dragonscript/main.txt · Last modified: 2024/03/14 11:33 by dragonlord