Giter Site home page Giter Site logo

v1wasm's Introduction

VERGE

This is a WASM port of version 1 of Vecna's VERGE engine.

I chose it as a guinea pig to play with NaCl WASM development because it's sophisticated enough to prove some kind of challenge without being huge and unweildly.

Compiling

Install SCons and Emscripten.

Note: Python 3 and python3-distutils are required by Emscripten.

$ scons

Then run an HTTP server rooted the root of this repository and load index.html in a browser.

v1wasm's People

Contributors

andyfriesen avatar bananattack avatar chuckrector avatar speveril avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

v1wasm's Issues

AudioWorkletNode cannot be created

Everything is built and current. I get this crash as soon as I load the page:

verge.out.js:1937 Uncaught (in promise) DOMException: Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: The node name 'libopenmpt-processor' is not defined in AudioWorkletGlobalScope.
    at http://localhost:8000/verge.out.js:1937:353
(anonymous) @ verge.out.js:1937
Promise.then (async)
wasm_playSong @ verge.out.js:1941
imports.<computed> @ verge.out.js:6105
(anonymous) @ 006524ce-198:600
(anonymous) @ 006524ce-209:531
(anonymous) @ 006524ce-231:2549
(anonymous) @ 006524ce-141:437
(anonymous) @ 006524ce-148:51
(anonymous) @ 006524ce-272:769
ret.<computed> @ verge.out.js:6129
(anonymous) @ verge.out.js:6213
(anonymous) @ verge.out.js:1934
Promise.then (async)
(anonymous) @ verge.out.js:1934
handleSleep @ verge.out.js:6192
downloadAll @ verge.out.js:1934
imports.<computed> @ verge.out.js:6105
(anonymous) @ 006524ce-262:4478
(anonymous) @ 006524ce-272:265
ret.<computed> @ verge.out.js:6129
(anonymous) @ verge.out.js:6213
(anonymous) @ verge.out.js:1935
Promise.then (async)
(anonymous) @ verge.out.js:1935
handleSleep @ verge.out.js:6192
fetchSync @ verge.out.js:1935
imports.<computed> @ verge.out.js:6105
(anonymous) @ 006524ce-262:2093
(anonymous) @ 006524ce-272:265
ret.<computed> @ verge.out.js:6129
Module._main @ verge.out.js:6377
callMain @ verge.out.js:6738
doRun @ verge.out.js:6804
run @ verge.out.js:6819
runCaller @ verge.out.js:6712
removeRunDependency @ verge.out.js:1726
receiveInstance @ verge.out.js:1851
receiveInstantiatedSource @ verge.out.js:1868
Promise.then (async)
instantiateArrayBuffer @ verge.out.js:1875
(anonymous) @ verge.out.js:1894
Promise.then (async)
(anonymous) @ verge.out.js:1889
Promise.then (async)
instantiateAsync @ verge.out.js:1887
createWasm @ verge.out.js:1915
(anonymous) @ verge.out.js:6350```

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.