Module 8 - Engine Support Systems 1 - Gameplay Systems & Scripting - 2026-Sep-23
Overview
In this module we look at how to add a scripting component to our game objects.
- Adding Behaviors with Script Components
- pyd
- Lua, scripting, and other languages
- Virtual Machines / Bytecode pattern
- Hot Reload
Key Resources/Readings
The following resources are listed (roughly) in order 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.
- Bytecode design pattern (Game Programming Patterns)
- State-Based Scripting in UNCHARTED: DRAKE'S FORTUNE and UNCHARTED 2: AMONG THIEVES ((Slides) GDC 2009 talk by Jason Gregory)
- DConf Online 2020 - Exposing a D Library to Python Through a C API - Ali Çehreli (Video)
- Ethan Watson: Binderoo - Wait, What Do You Mean You Quit Your Job? (Video)
- Pybind11 C++ Setup Tutorials on YouTube (YouTube Playlist)
- Pybind11 Github (Main github repo)
- Pybind11 docs and tutorial ()
- Embedding Python into a C++ Project ((17 minutes))
- Ivan Smirnov - pybind11 - seamless operability between C++11 and Python (Talk on how to use pybind)
- Extending Python With C Or C++ With Pybind11 (Helpful example)
Slides and Module 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.
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. That said, it is the expectation that you are coming to class in-person. :)
Audio/Video Recording
Join the Discussions and Make a Post
Please log in to see discussions/posts


