Giter Site home page Giter Site logo

thientrinh66 / esp8266_game_engine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from corax89/esp8266_game_engine

0.0 0.0 0.0 11.16 MB

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

License: GNU General Public License v3.0

C++ 77.42% C 19.39% HTML 3.19%

esp8266_game_engine's Introduction

ESPboy_little_game_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/game_engine_for_esp8266_with_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 "ESPboy_little_game_engine" and rename the folder "ESPboy_little_game_engine-master" to "ESPboy_little_game_engine"
  3. Unpack two libraries (a_coos and TFT_eSPI) from file "libraries.7z" to the Arduino/Libraries folder
  4. Change settings in file «User_Setup.h» of TFT_eSPI library
  • 50 #define TFT_WIDTH 128
  • 53 #define TFT_HEIGHT 128
  • 67 #define ST7735_GREENTAB3
  • 149 #define TFT_CS -1
  • 150 #define TFT_DC PIN_D8
  • 152 #define TFT_RST -1
  • 224 #define LOAD_GLCD
  • 255 #define SPI_FREQUENCY 27000000
  1. Open "esp8266_game_engine.ino" in Arduino IDE and compile it for "Lolin/WeMos D1 mini ESP8266" board
  2. Upload the games to your ESPboy SPIFFS
  3. 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/game_engine_for_esp8266_with_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

esp8266_little_game_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

esp8266_game_engine's People

Contributors

corax89 avatar espboy-edu avatar mali1741 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.