Commit Graph

18 Commits

Author SHA1 Message Date
Rezmason
f9ac81817f Updated the playdate glyph textures and increased their cycle speed a little bit 2022-09-09 22:57:57 -07:00
Rezmason
f66f8232d9 Adding Playdate compile instructions to the project 2022-09-05 02:35:22 -07:00
Rezmason
1aeaba7a3f Adding dated attribution text to top of Lua file 2022-09-04 23:48:55 -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
0ce4f35eb2 Replacing lockImage and unlockImage with pushContext and popContext in the Lua project 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
Rezmason
5bebf6ad71 Replaced dithering logic with compositing a pre-rendered dithered gradient. 2022-09-04 23:48:54 -07:00
Rezmason
551ce132c4 Various playdate optimizations, increasing unused CPU to hopefully drive audio or something. Moved the Lua project into playdate/matrix_lua 2022-09-04 23:48:54 -07:00
Rezmason
ceb5b03458 "Flattening" the faded images and glyphs into a 2D array of images reduces the number of draw calls per update to one per changed glyph 2022-09-04 23:48:54 -07:00
Rezmason
a48263873e Replacing image tables with arrays of images eliminates the memory leak 2022-09-04 23:48:54 -07:00
Rezmason
7fbb7a62e1 Learning Lua, implemented the matrix effect for the playdate but there are memory and framerate issues 2022-09-04 23:48:54 -07:00
Rezmason
9a613f3588 Starting playdate project 2022-09-04 23:48:54 -07:00