Commit Graph

19 Commits (807712af79bee9b44945d657e2a583a97dd59446)

Author SHA1 Message Date
LeRoyce Pearson 807712af79 fix: remove slight offset when cards were rendered
Fixed by updating version of seizer to one that doesn't offset the canvas
projection.
2024-02-28 14:47:35 -07:00
LeRoyce Pearson 84d8766124 send one move input per joystick button press
This makes it easier to control on the RG351M, as inputting a single
move no longer requires a frame perfect press and release.
2024-02-28 13:46:14 -07:00
LeRoyce Pearson 980d8cb6a1 initial support for RG351M controller input 2024-02-28 13:39:39 -07:00
LeRoyce Pearson 197756e5c3 feat: open window with size of workarea 2024-02-28 12:20:02 -07:00
LeRoyce Pearson 6f42b35e14 only activate "New Meld" when a valid meld is marked 2024-02-27 00:27:09 -07:00
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