Giter Site home page Giter Site logo

srb2's Introduction

SRB2 for Web

To install, just drop the contents of this zipfile into a web server. No other services required, just HTTP.

The HTML file may include a Google Analytics tag. If you wish, you may search the file for "Google Analytics" and erase the tag.

Bandwidth Usage

On first run, the server sends around 90 MB of game files to the client. This includes the core wadfiles and a small selection of music. The game progressively downloads more music as the player advances.

Updates

When you use emscripten-packaging.py, the script generates a versioning string to push auto-updates. On every page load, the client will check for this version string. If it finds that the version is new, then the page will update on next load.

Game files are checked for updates on every run. The packaging script generates MD5 hashes for each game file. If the client finds that the hash is different, then the file is re-downloaded.

Storage

The game files are stored in the client's IndexedDB store. In Chrome, you may find these files under Developer Tools > Application.

The shell is capable of deploying multiple SRB2 versions. In cases where one versions does not have many files changed from a previous versions, the new release will recall the unchanged files from the previous release. This saves on bandwidth and the client's disk space.

Caveats

Low disk-space conditions are not tested. Offline conditions are not tested. Error-handling is not well-developed.

Links

srb2's People

Contributors

snoni 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.