esp8266_game_engine

by corax89

Used ili9341 or ST7735. Contains a virtual machine running games from RAM.

139 Stars 16 Forks Last release: Not found GNU General Public License v3.0 138 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

ESPboylittlegame_engine

LGE is a fantasy console for making, sharing and playing tiny games and other computer programs. You can make you game or program using online compiler and run compiled binary on portable ESPboy console thouse feels like a regular console. Check few, colored, nostalgic LGE games from the package, by uploading them to SPIFFS.

Games sources: https://github.com/corax89/gameengineforesp8266with_compiler/tree/master/example

Hackaday: https://hackaday.io/project/164205-esp-little-game-engine

Article: https://hackaday.com/2019/03/11/esp8266-gets-its-game-on-with-open-source-engine/

User Guide: https://corax89.github.io/esp8266Game/user_guide/index.html

Online ESP-LGE SDK, compiler, emulator: https://corax89.github.io/esp8266Game/index.html

How to compile for ESPboy: 1. Install Arduino IDE 2. Clone and download "ESPboylittlegameengine" and rename the folder "ESPboylittlegameengine-master" to "ESPboylittlegameengine" 3. Unpack two libraries (acoos and TFTeSPI) from file "libraries.7z" to the Arduino/Libraries folder 4. Change settings in file «UserSetup.h» of TFTeSPI library - 50 #define TFTWIDTH 128 - 53 #define TFTHEIGHT 128 - 67 #define ST7735GREENTAB3 - 149 #define TFTCS -1 - 150 #define TFTDC PIND8 - 152 #define TFTRST -1
- 224 #define LOADGLCD - 255 #define SPIFREQUENCY 27000000 5. Open "esp8266gameengine.ino" in Arduino IDE and compile it for "Lolin/WeMos D1 mini ESP8266" board 6. Upload the games to your ESPboy SPIFFS 7. Enjoy )

How to upload games to SPIFFS: https://www.youtube.com/watch?v=25eLIdLKgHs

How to recompile CHIP8 games: 1. Use source file https://github.com/corax89/gameengineforesp8266with_compiler/blob/master/example/chip8.c 2. Put your CHIP8 bit code to char "Memory[3583] = {};" at string ¹58 3. Check buttons remap at strings ¹9-20 4. Compile this .c to .bin with "Online ESP-LGE SDK, compiler, emulator" https://corax89.github.io/esp8266Game/index.html 5. Upload .bit to your ESPboy SPIFFS

Games in package:

  1. Original ESP-LGE by Igor: FourInaRow, NinjaEscape, 1916, WormBlast, ESProgue, Galaxies, CityRunner, Memories, MarsAttack, Columns, Mines, Breackout, TowerDefense, ...

logo

esp8266littlegame_engine

Used ili9341. Contains a virtual machine running games from RAM.

Used library:

https://github.com/akouz/a_coos

https://github.com/Bodmer/TFT_eSPI

Online emulator with compiler:

https://corax89.github.io/esp8266Game/index.html

Video:

video

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.