Skip to content

treblereel/quake2-j2cl-port

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google's J2CL/HTML5 port of Bytonic Software's Java port of Id Software's Quake II

Prerequisites:

* maven 3.6+
* lame installed
* vorbis-tools installed
* tested on linux

1) run `com.googlecode.gwtquake.tools.Installer` from the server module
2) copy `baseq2` from `war` dir to `server/src/main/resources/META-INF/resources/`
3) optionally, for multiplayer you need to set ws server addr at client/src/main/java/com/googlecode/gwtquake/client/CompatibilityImpl.java:62

Executable jar runner:

1) run `mvn clean package`
2) `java -jar server/target/quarkus-app/quarkus-run.jar`

To build native image, GRAALVM must be installed, see for details https://www.graalvm.org/docs/getting-started/

1) run `mvn clean package -Pnative`
2) `./server/target/quake2-runner`

Building Docker image
1) `mvn clean package -Pnative -Dquarkus.container-image.build=true`


To play the game open `http://0.0.0.0:8080/quake2/` in a browser


online demo: https://j2cl-quake.colinalworth.com/quake2/

known issues:

*    minor sound issues
*    poor code quality (original code has been generated from C )
*    it's not possible to set server address as param

Enjoy and file the bugs :)

About

Automatically exported from code.google.com/p/quake2-gwt-port

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 96.3%
  • JavaScript 3.7%