Space invaders for ESP32 or Arduino Uno
Автор: Samantha Martin
Загружено: 2019-05-05
Просмотров: 604
Описание:
Here's is something I made over the weekend because I was bored :)
It runs on a Arduino uno without sound at 49ms - 20 fps, 40% flash, 20% memory, however I wanted to add sound without any extra circuitry so I made another version for a ESP32 to which the code is exactly the same except it has extra code for the sound running on the second core thus not to delay the program when playing notes, even with the 260Mhz vs 16Mhz with or without sound the ESP32 runs at 37ms - 25fps because the ESP32 is using i2c vs SPI on the Arduino. All the code is my own and to the extent this is my first game I have made in C, the code is under 400 lines and i used u8glib for the display to save memory, i found it very easy the only annoyance was creating the sounds...
Sorry for the poor recording quality my phone hates OLED displays
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: