Skip to content

Concepts

This section provides a reference for the concepts and features of Sonolus.py.

The Overview page is a good place to start if you're new to Sonolus.py. The rest of this section assumes familiarity with Python and the concepts introduced there, and is not intended to serve as a tutorial.

  • Overview: A summary of the whole library.
  • Types: Num, Array, Record, generics, and copy versus alias semantics.
  • Constructs: The supported Python subset and how it differs from standard Python.
  • Builtins: Supported built-in functions and standard library modules.
  • Project: Project layout, modes, archetype callbacks, and levels.
  • Resources & Declarations: Entity and level storage, skins, effects, particles, buckets, and options.
  • Command Line: The sonolus-py tool for building, serving, and checking a project.