Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antonoko/pd-solitaire-effect
https://github.com/antonoko/pd-solitaire-effect
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/antonoko/pd-solitaire-effect
- Owner: Antonoko
- License: mit
- Created: 2024-09-12T12:23:42.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T05:12:27.000Z (3 months ago)
- Last Synced: 2024-12-13T17:09:21.962Z (9 days 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`)