Commit Graph

14 Commits (f0e6bc4e0dcf365bb9bc22f6ea90819dbd1463c6)

Author SHA1 Message Date
LeRoyce Pearson f0e6bc4e0d add TextElement for "New Meld" button 2024-02-26 23:58:38 -07:00
LeRoyce Pearson 2dde105a58 feat: mark/unmark cards after drawing 2024-02-26 22:24:47 -07:00
LeRoyce Pearson c5526ba229 feat: activating and undoing actions 2024-02-26 21:55:51 -07:00
LeRoyce Pearson 1134f0ee08 improve navigation with the arrow keys 2024-02-26 21:00:01 -07:00
LeRoyce Pearson 45bd514bd3 remove `element` from `Action`, rely only on `command` 2024-02-26 20:39:10 -07:00
LeRoyce Pearson a7bc7e87e0 replace `Spread` with `CardElements` and an `HBox` 2024-02-26 20:18:39 -07:00
LeRoyce Pearson 91f896c5ef implement hovering over elements 2024-02-26 19:50:26 -07:00
LeRoyce Pearson 54d04f4a2b refactor: handler that returns a tree of elements 2024-02-26 18:27:31 -07:00
LeRoyce Pearson d63a6d06fb feat: highlight selected card, change highlight card 2024-02-26 13:59:14 -07:00
LeRoyce Pearson 45bc09b612 render draw/discard/hand 2024-02-25 00:19:34 -07:00
LeRoyce Pearson 695c4d6280 feat: add small size graphics 2024-02-24 16:44:41 -07:00
LeRoyce Pearson 680f56a39d feat: render stack of cards
Added `tile_offset` and `tile_stride` to render exactly the card without
the blank space surrounding it on the tile.
2024-02-24 16:27:37 -07:00
LeRoyce Pearson 755518bb5d feat: use framebuffer size to choose sprite set
Using multiple sizes of sprites will hopefully make porting the game to
a wider range of devices easier.
2024-02-24 15:58:55 -07:00
LeRoyce Pearson 15e1670ec3 get medium cards rendering 2024-02-23 14:44:27 -07:00