What’s Next¶
You now have the Python foundation needed to read and write Acron code. Here is a quick recap of what was covered:
Variables and types — storing game state in ints, floats, strings, booleans, and
NoneCollections — lists for groups of things, dicts for named lookups, tuples for fixed compound values
Control flow —
if/elif/elsefor decisions,forandwhilefor repetitionFunctions — encapsulating reusable behaviour with parameters and return values
Classes and objects — bundling data and methods into a blueprint, and using inheritance to extend existing classes
Modules and imports — splitting code across files and bringing in external libraries
Every one of these patterns appears directly in the Hello World tutorial
that follows. In particular, the very first thing you will do is define a
class that inherits from ShowBase — which is exactly the inheritance
pattern from Classes and Objects.
When you are ready, move on to the tutorial: