mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
![]() This allows rendering only a sub-rectangle of the original image, which we can use right away in the sliding puzzle demo. |
||
---|---|---|
.. | ||
wasm | ||
berlin.jpg | ||
build.rs | ||
Cargo.toml | ||
main.rs | ||
README.md | ||
slide_puzzle.60 |
Example based on the flutter slide_puzzle example: https://flutter.github.io/samples/slide_puzzle
This will allow to compare SixtyFPS and Flutter.
Remaining feature to implement to have parity:
- Fonts.
- "Spring" animation instead of a bezier curve.
- Animation when clicking on a tile that cannot be moved.
- bold text when the tile is in the correct position in classic style Note that this feature is kind of broken in the flutter example as it is only applied when changing themes
- Hover effect on tiles and on the auto-play checkbox.
- When the puzzle is finished, the last tile is added, and the tiles are growing in the Seatle theme.
- The different styles are well separated in different files.
- Shadow on the tiles