Conclusion
This tutorial showed you how to combine built-in Slint elements with C++ code to build a game. There is much more to Slint, such as layouts, widgets, or styling.
We recommend the following links to continue:
- Examples: The Slint repository has several demos and examples. These are a great starting point to learn how to use many Slint features.
- Todo Example: This is one of the examples that implements a classic use-case.
- Memory Puzzle: This is a slightly more polished version of the code in this example and you can play the wasm version in your browser.
- Slint API Docs: The reference documentation for the main Rust crate.
- Slint Interpreter API Docs: The reference documentation for the Rust crate that allows you to dynamically load Slint files.