https://github.com/antonoko/pd-solitaire-effect
https://github.com/antonoko/pd-solitaire-effect
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/antonoko/pd-solitaire-effect
- Owner: Antonoko
- License: mit
- Created: 2024-09-12T12:23:42.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T05:12:27.000Z (10 months ago)
- Last Synced: 2025-02-13T19:54:08.243Z (5 months ago)
- Language: Lua
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🃏 pd-solitaire-effect
Solitaire game winning effect on Playdatehttps://github.com/user-attachments/assets/fddab4f5-5a6d-49f8-b989-a680bb4d27d5
### how to use
How it works:
- Create a blank transparent image and keep drawing cards on it. Update the display through sprites. You can place sprites at any layer (Zindex).Configuration required:
- `playdate.graphics.imagetable` containing all cards
- Coordinates of the positions of several decks to be launchedThat's it! I think the code is not complicated, feel free to use and modify.
Additional work that may need to be done:
- Add a fade-out animation after interrupting the animation. (can be achieved through `playdate.graphics.image:fadedImage`)