treblereel / quake2-j2cl-port

Automatically exported from code.google.com/p/quake2-gwt-port
GNU General Public License v2.0
22 stars 3 forks source link

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

Prerequisites:

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:

Enjoy and file the bugs :)