
Please obtain the course material by either downloading the ZIP file resource or downloading it from GitHub. It contains everything you need if you want to code along: the Google Colab notebook and the Ren'Py sample project.
Discover embedding Python in Ren'Py scripts with the dollar sign, use indented blocks for multi-line code, and run Python via the developer console to manage character data.
Explore Python strings from literals to manipulation: escape quotes with backslashes and use print. Indexing and slicing, immutability, length via len, and case transforms like capitalize, upper, and lower.
Learn python numbers, including integers and floats, by using arithmetic operators such as minus, slash, floor division, modulo, and exponentiation for powers, in a health example with min and max.
Learn booleans as logical variables that hold true or false, and use if and else to drive a choice menu showing park, shop, and beach options based on visit flags.
Discover how sets in Python enforce uniqueness and enable fast membership checks, contrast them with lists, and learn to add, measure length, and manage unique items in Ren'Py projects.
Loop through lists, sets, and dictionaries to process data and print items or colors using dictionary lookups. Build a simple inventory screen in Ren'Py that displays fruit names and quantities.
Explore python classes and object-oriented programming by building an animal class with name, speech, and health, then greet and adjust health for dog, cat, and duck.
Celebrate completing this Python basics course and apply your skills to your next term project, using the included list of Python resources to tackle advanced concepts.
Do you enjoy Visual Novel games? Do you want to add more gameplay elements like mini-games to the traditional Visual Novels?
This course covers the fundamentals of Python you need to take your Ren'Py game development skills to the next level. Personally, I found those Python concepts essential when I was implementing complex minigames like chess and a rhythm game for my Ren'Py projects.
In each lecture, we will learn a Python concept using the Python runtime in Google Colab and then see the Python concept in action in Ren'Py scripts. For example, we will see how Python's if-else control flow statements allow us to dynamically show or hide Ren'Py menu choices.
Topics that we will cover:
Variables (strings, numbers, booleans)
Data Structures (lists, sets, dictionaries)
Python Control Flow Statements (conditional, loops)
Advanced Topics (functions, classes)
No Python experience is necessary. Basic familiarity with Ren'Py is recommended to get the best experience out of this course. Experience with any programming languages will be greatly helpful.
By the end of this course, you will be able to:
Use complex Python data structures in Ren'Py (to create complex components like an inventory system)
Use Python to organize and simplify your Ren'Py script
Join me in this course to level up your programming, game development, and Ren'Py skills!