|
| 1 | +# Demos |
| 2 | + |
| 3 | +## Doom |
| 4 | +**source**: [doom_riscv](https://github.com/smunaut/doom_riscv) |
| 5 | + |
| 6 | +**commmad**: `make doom` |
| 7 | + |
| 8 | +Doom, a pioneering first-person shooter game developed by id Software in 1993, is known for its open-source code and vibrant community, it debuted innovations like genuine 3D graphics, networked multiplayer gameplay and the ability for players to create custom expansions. |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | +### Limitations |
| 13 | +* The input system is not supported yet |
| 14 | + |
| 15 | +## Quake |
| 16 | +**source**: [quake-embedded](https://github.com/sysprog21/quake-embedded/) |
| 17 | + |
| 18 | +**command**: `make quake` |
| 19 | + |
| 20 | +Quake was created in 1996 as a successor of the highly succcessful first-person shooter game Doom, it is based on Doom's game engine and 3D graphics compability, and it enhanced the fast-paced gameplay and online multiplayer over the Internet. |
| 21 | + |
| 22 | +[quake-embedded](https://github.com/sysprog21/quake-embedded/) is an embedded RISC-V port of Quake based on [QuakEMBD](https://github.com/FantomJAC/quakembd). |
| 23 | + |
| 24 | +Build Instruction: |
| 25 | +``` |
| 26 | +$ git clone https://github.com/sysprog21/quake-embedded.git && cd quake-embedded |
| 27 | +$ mkdir build && cd build |
| 28 | +$ cmake -DCMAKE_TOOLCHAIN_FILE=../port/boards/rv32emu/toolchain.cmake \ |
| 29 | + -DCMAKE_BUILD_TYPE=RELEASE -DBOARD_NAME=rv32emu .. |
| 30 | +$ make |
| 31 | +``` |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | +### Default Key Bindings |
| 36 | +* Move Forward/Backward: Up Arrow Key/Down Arrow Key |
| 37 | +* Move Left/Right: Comma(,) Key/Period(.) Key |
| 38 | +* Turn Left/Right: Left Arrow Key/Right Arrow Key |
| 39 | +* Swim Up/Down: D Key/C Key |
| 40 | +* Shoot: Left Mouse Button or CTRL Key |
| 41 | +* Switch Weapon: Slash(/) Key |
| 42 | +* Sprint: Shift Key |
| 43 | + |
| 44 | +You may use the mouse to adjust the pitch and yaw angle |
| 45 | + |
| 46 | +### Limitations |
| 47 | +* Mouse wheel input is not supported |
| 48 | +* All sound functions are not implemented |
0 commit comments