AngelScript
Tutorial

Path: /sdk/samples/tutorial/

This sample was written with the intention of explaining the basics of AngelScript, that is, how to configure the engine, load and compile a script, and finally execute a script function with parameters and return value.

  • asIScriptEngine::SetMessageCallback
  • LineCallback() function which aborts execution when the time is up
  • Strings
  • Registered global functions
  • Script function parameters and return value
  • Retrieving information about script exceptions
  • asIScriptGeneric for when the library doesn't support native calling convention