https://github.com/corax89/esp8266_game_engine
https://github.com/corax89/game_engine_for_esp8266_with_compiler
这个引擎的已有实现是将代码编译成自定义的指令集。然后在目标平台上跑一个VM
The screen refreshes every 50 milliseconds. Update order:
Clearing sprite memory
Drawing sprites in sprite memory
Moving sprites
Collision Check
Drawing particles in the memory of sprites
Redrawing the changed areas of the screen
Setting the redraw flag to 1

API表
https://github.com/corax89/game_engine_for_esp8266_with_compiler/wiki/Standard-language-functions
我们选择重新实现这个引擎的所有API,这样性能应该会更好。
指令集手册
https://github.com/corax89/game_engine_for_esp8266_with_compiler/wiki/Technical-information