Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add input system support to Doom demo #41

Merged
merged 1 commit into from
Aug 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ In `rv32emu` repository, there are some prebuilt ELF files for testing purpose.
* `dhrystone.elf` : See [rv8-bench](https://github.com/michaeljclark/rv8-bench)
* `pi.elf` : See [tests/pi.c](tests/pi.c)
* `quake.elf` : See [sysprog21/quake-embedded](https://github.com/sysprog21/quake-embedded)
* `doom.elf` : See [sysprog21/doom_riscv](https://github.com/sysprog21/doom_riscv)

## Reference

Expand Down
Binary file modified build/doom.elf
100644 → 100755
Binary file not shown.
10 changes: 8 additions & 2 deletions docs/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@

![Doom Gameplay](https://imgur.com/bLc5LG8.gif)

### Limitations
* The input system is not supported yet
### Main Key Bindings (All key bindings are listed in the "READ THIS!" menu)
* Move Forward/Backward: Up Arrow Key/Down Arrow Key
* Move Left/Right: Comma(,) Key/Period(.) Key
* Turn Left/Right: Left Arrow Key/Right Arrow Key
* Shoot: Left Mouse Button or CTRL Key
* Sprint: Shift Key
* 1: Fist
* 3: Shotgun

## Quake
**source**: [quake-embedded](https://github.com/sysprog21/quake-embedded/)
Expand Down