mshah.ioCourse ScheduleCourse Information


Module 9 - Engine Support Systems 2 - Gameplay Systems & Scripting - 2025-Feb-06

Overview

In this module we look at how to add a scripting component to our game objects.

  • Adding Behaviors
  • pyd
  • Lua, scripting, and other languages
  • Hot Reload

Slides and Class Content

Please note: Your in-class activity is graded. Your first attempt will be graded. You can use your notes and slides if you like. You have 1 week from the date of this module opening to complete the in-class activity. In-class activities are completed individually.

Audio/Video Recording

Note: Audio/Video recordings are made in a best effort in case you have to miss class or you would otherwise like to re-watch a portion of lecture. Occassional recording errors (e.g. missing sound, corrupted video, etc.) may occur, and I apologize in advance if a recording is not able to be made available.

Readings

    Please use the following resources to supplement this lecture. You may choose to read 1 or more of these before/during/after the lecture to fully immerse into the material.

  1. DConf Online 2020 - Exposing a D Library to Python Through a C API - Ali Çehreli
    • Video
  2. Ethan Watson: Binderoo - Wait, What Do You Mean You Quit Your Job?
    • Video
  3. Pybind11 C++ Setup Tutorials on YouTube
    • YouTube Playlist
  4. Pybind11 Github
    • Main github repo
  5. Pybind11 docs and tutorial
  6. Embedding Python into a C++ Project
    • (17 minutes)
  7. Ivan Smirnov - pybind11 - seamless operability between C++11 and Python
    • Talk on how to use pybind
  8. Extending Python With C Or C++ With Pybind11
    • Helpful example
Please do not redistribute or host any materials without e-mailing me first. Thank you for your time!