{{{ SCRIPT }}}

# Loading...

# Thanks for playing!

You can now close this tab, or reload the page to start again.

# Welcome to RigelEngine (web version)!

RigelEngine is an open-source recreation of the game Duke Nukem II for modern systems, offering various enhancements like increased frame rate, better game controller support, a wide-screen mode, quick saving etc. This is the web version, made using Emscripten and Webassembly (wasm). It's still work in progress and has a few limitations that don't exist in the native version (see below).

More info: GitHub project
Updates: Blog, Twitter, YouTube
Download a native build (Windows/Mac OS/Linux)

## Controls

Press Esc to enter the main menu, then use arrow keys and Enter/Esc to navigate the menus. Default in-game controls are arrow keys for movement, Ctrl to jump and Alt to shoot. Pressing F1 while in-game brings up an options menu, where you can customize controls (recommended on Mac) and enable enhancements like widescreen mode/quick saving. To go back to the main menu press Esc and then Y to confirm.

## Known issues/limitations

- On Mac OS, the default controls are in conflict with some system-wide shortcuts (e.g. Ctrl + Up arrow for switching between applications etc.) I'd recommend reconfiguring the controls (see above) if you're on a Mac so that the Ctrl key is not used. This is not a problem in the native Mac version as it can use true fullscreen mode, but that doesn't work in the web version unfortunately.
- Saved games, high scores, and options can't be saved permanently and are lost when reloading or closing the page.
- It's not possible to play the registered version.
- Due to missing touch input support, there is no way to interact with the game on mobile devices (unless you plug in a USB keyboard or game controller), so it will just run through the intro loop forever.
- Screen fade-in and fade-out effects are missig.
- Switching between sound styles causes the UI to temporarily become unresponsive (a loading indicator isn't displayed correctly).

If you find any problems not mentioned in the list above, please open an issue on GitHub!

Enjoy the game! :)