Giter Site home page Giter Site logo

ttgo-doom's Introduction

TTGO-DOOM

This is a port of DOOM to the LilyGO T-Watch, a cheap ESP32 based "smart" watch. I have only tried it on the T-Watch-2020, but it may work on other models.

doomwatch

Building / Flashing

This is a PlatformIO project. You can build it through the PlatformIO IDE (vscode) or from the command line using

pio run -t upload

After building and uploading the firmware, you will also need to upload the game data (WAD files). Run the flashwad.sh script. This requires esptool to be installed. You will need to specify the serial port the device is connected to, for instance /dev/ttyUSB0.

./flashwad.sh /dev/ttyUSB0

I have included the WAD file for the shareware version of DOOM (data/DOOM1.WAD), but you can replace it with the WAD for a retail version if you have it. There is 14,720 Kb available for the WAD file.

Controls

Menu Controls
Side Button Open/close the menu
Swipe up/down/left/right Navigate the menu
Touch Make a selection
Game Controls
Tilt left/right Turn left and right
Tilt forward/back Move forward and backward
Tap Shoot or use

TODO

  • Touchscreen gestures
  • Accelerometer for movement control
  • Sound
  • Load WAD files from SPIFFS filesystem instead of reading data directly from flash partitions
  • Save / Load games
  • Run vibration motor when you get hit
  • Multiplayer using WiFi
  • Gamepad using bluetooth
  • Maybe show the time?

Credits

  • DOOM was released by iD software in 1999 under the Gnu GPL.
  • PrBoom is a modification of this code; its authors are credited in the src/prboom/AUTHORS file.
  • The ESP32 port was done by Espressif and is licensed under the Apache license, version 2.0.
  • Also uses code from App-Z and jkirsons.

ttgo-doom's People

Contributors

unlimitedbacon avatar dicamarques14 avatar

Watchers

James Cloos 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.