GitHub - StateSmith/tutorial-2: Multi programming language StateSmith tutorial

See Newer Tutorials?

If you are new to StateSmith, you probably want one of the newer tutorials.
See https://github.com/StateSmith/StateSmith/wiki/Learning-Resources

This older tutorial shows how to use .csx files with StateSmith. In 2024, I only recommend using .csx files if you need very advanced features of StateSmith like custom modding the state machine graph just before code gen.

This tutorial will get you up and running with StateSmith as quick as possible.

The instructions are cross platform and work with all supported programming languages.

If you notice something that could be improved, please open an issue or send a note on discord.

🎉 NEW CLI TOOL! 🎉

When you are ready to start your own project from scratch, check out the StateSmith.Cli tool. It is a huge time saver.

Dark/Light Theme

All of these diagrams were drawn in dark mode. If you are using a light theme and notice any issues with the diagrams, please let me know.

In vscode, you can switch between between light/dark from the command palette. Ctrl+Shift+P and then type dark. In the draw.io offline app, you can switch between light/dark by clicking the sun or moon icon in the top right.

Lesson Overview

Onwards! ⏭️

Navigate to lesson-0 and see the readme there.