Added ESPboy support
Closed this issue · 4 comments
Thank you! I'll add the link to the README.
Yes, thank you.
Here is video https://youtu.be/sKtzbp46qn8?si=Q1bVrn43ns6d3zuS
In the ESPboy version I had to remove the character caching in the library file "cglp.c" function "void drawCharacter(...)" and lower some value parameters, e.g.
#define MAX_SOUND_EFFECT_NOTE_LENGTH 16
#define MAX_HIT_BOX_COUNT 128
#define MAX_DRAWING_HIT_BOXES_COUNT 32
#define MAX_SCORE_BOARD_COUNT 8
#define MAX_RECORDED_INPUT_COUNT 100
and also move some static data to PROGMEM both in the library itself and in the games
because there was too low MCU RAM memory
However, drawing without caching is fast enough.
Is there any possibility of automatic conversion of games from JS crisp-game-lib?
The JavaScript language specification is too rich for automatic conversion to C. To make automatic conversion possible, it may be necessary to limit the JavaScript functionality available in JS crisp-game-lib to a subset.
it may be necessary to limit the JavaScript functionality available in JS crisp-game-lib to a subset.
definitely a good idea to make wider wonderful numerous CGL (crisp-game-lib) games representation and available to more users )