Giter VIP home page Giter VIP logo

ioquake3.js's Introduction

ioq3.js

ioq3.js is a simple port of ioquake3 to the web using Emscripten. It was heavily inspired by inolen's quakejs, but aims to be simpler and up-to-date with the latest Emscripten features.

Demo

You can play the demo version here.

Building

make PLATFORM=js EMSCRIPTEN=/path/to/emscripten

Binaries will be placed in build/release-js-js.

Adding data

Data is preloaded using Emscripten's virtual filesystem. So, if you want to play, you have the provide the official (or demo) PK3's. Here's how it would work for retail Q3:

python /path/to/emscripten/tools/file_packager.py emscripten_data.data --preload baseq3 > emscripten_data.js

And add this to the build/release-js-js/ioquake3.html file:

<script async type="text/javascript" src="emscripten_data.js"></script>

Running

  • Run python -m SimpleHTTPServer 8888 in build/release-js-js
  • Load localhost:8888/ioquake3.html in your browser

Todo

  • Networking
  • Drop LEGACY_GL_EMULATION

ioquake3.js's People

Contributors

timangus avatar zturtleman avatar lnussel avatar nuclearmonster avatar icculus avatar smiletheory avatar tjdub avatar jeremiah-sypult avatar ensiform avatar smcv avatar xhairball avatar inolen avatar pan7 avatar richard-allen avatar cmf028 avatar klaussilveira avatar jonathangray avatar xycaleth avatar amanieu avatar dersaidin avatar andreyv avatar losinggeneration avatar hgs3 avatar ir4t4 avatar mycoboco avatar miried avatar razish avatar robertoestrada avatar gbougard avatar thiloschulz avatar

Watchers

James Cloos avatar Ray Lugo, Jr. avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.