Commit Graph

10 Commits

Author SHA1 Message Date
Rezmason
4449b4ea2d Adding the card animation to the playtrix 2022-09-10 17:05:15 -07:00
Rezmason
f9ac81817f Updated the playdate glyph textures and increased their cycle speed a little bit 2022-09-09 22:57:57 -07:00
Rezmason
b26d585cad The latest SDK now reports correct bounds for partly transparent images 2022-09-04 23:48:55 -07:00
Rezmason
c3f22a5afb Reducing the number of fade variants when the effect is running quicker, to gain some more CPU. 2022-09-04 23:48:55 -07:00
Rezmason
687c7ab613 Replacing references to playdate API with references to its components. No apparent performance change. 2022-09-04 23:48:55 -07:00
Rezmason
c0e94627e7 Throwing some extra C compiler warnings into the CMakeLists. Found and dealt with some double-to-float conversions, cut CPU use down to about 10%. 2022-09-04 23:48:54 -07:00
Rezmason
346bbbb84d Moving more playdate files around, adding a playdate-specific gitignore to the subdirectory and adding an easter egg. 2022-09-04 23:48:54 -07:00
Rezmason
fadc1ed639 C project now uses drawing contexts to draw faded glyph variants to a cache.
Switched to an opaque fade gradient and white-transparent drawing mode to avoid a bug discovered in the C SDK.
2022-09-04 23:48:54 -07:00
Rezmason
6a3430d862 Began implementing a function to composite two bitmap views before I realized pushContext and popContext probably do what I need instead 2022-09-04 23:48:54 -07:00
Rezmason
8df808ea76 Began work on the C port. To my knowledge, everything is working except the graphics code. The C API doesn't include bitmap compositing functions out-of-the-box. 2022-09-04 23:48:54 -07:00