Conclusion
In this tutorial, we have demonstrated how to combine some built-in Slint elements with C++ code to build a little game. There are many more features that we haven't talked about, such as layouts, widgets, or styling.
We recommend the following links to continue:
- Examples: In the Slint repository we have collected a few 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 C++ library.