Scripting with Mono's Embedded API

Play Scripting with Mono's Embedded API
Sign in to queue


Providing a scripting environment and language so that users can mod and extend a game is a traditional practice in the videogame industry, where C/C++ game engines like Unity allow you to use C# to create and script games. Providing a scripting environment allows users and designers to break out of the constraints of the game, modifying it and extending it beyond the intent of the original developers. What if non-gaming applications could also leverage a scripting environment to gain flexibility and power? With Mono's embedding API it's easy for any C/C++ application to add the power of C# and .NET to its arsenal.

In this talk we will go through the basics of how to embed Mono and run C# from a C/C++ bootstrapping application, its potential uses, as well as the problems and pitfalls that you will encounter along the way. There are many interesting things that you can do when you control the runtime, domain and assembly loader from native land, and we will look at some fun tricks that are possible, like dynamic UIs that you can script, extend and modify at runtime without ever restarting your app, or games where the users drive the content.







Download this episode

Download captions

The Discussion

  • User profile image

    zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...i'll come back to this video later work on condensing your speaking code

  • User profile image
    Jens Eckervogt

    * off Where is SUBTITLE?????????????????????????

    I AM DEAF WHAT DOES VIDEO SAY???????????????????

Add Your 2 Cents