Commit Graph

8 Commits (91f896c5ef3fe7a49fbe5ebabd224202291ae471)

Author SHA1 Message Date
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