Skip to content

Game is broken #42

@RonnieTiger

Description

@RonnieTiger

when you download the game and launch it through the browser (either by spawning a python server or dropping it on an Apache server) the game failed to load past the main menu, and the chrome JS console goes nuts with the following error repeated infinitely.

Audio.js:140 Uncaught TypeError: panner.setVelocity is not a function
    at Object.bkcore.Audio.setListenerVelocity (Audio.js:140)
    at bkcore.hexgl.ShipControls.update (ShipControls.js:542)
    at Object.ctx.manager.add.components [as render] (Cityscape.js:484)
    at bkcore.threejs.RenderManager.renderCurrent (RenderManager.js:120)
    at bkcore.hexgl.HexGL.update (HexGL.js:137)
    at raf (HexGL.js:102)

commenting out the Audio.js in the html reduces the number of errors, however the game will still not run

THREE.WebGLRenderer 50dev
Three.dev.js:726 WebGL: INVALID_OPERATION: getAttribLocation: program not linked
init @ Three.dev.js:726
Three.dev.js:726 WebGL: INVALID_OPERATION: getAttribLocation: program not linked
init @ Three.dev.js:726
Three.dev.js:726 WebGL: INVALID_OPERATION: getUniformLocation: program not linked
init @ Three.dev.js:726
Three.dev.js:726 WebGL: INVALID_OPERATION: getUniformLocation: program not linked
init @ Three.dev.js:726
Three.dev.js:726 WebGL: INVALID_OPERATION: getUniformLocation: program not linked
init @ Three.dev.js:726
Three.dev.js:726 WebGL: INVALID_OPERATION: getUniformLocation: program not linked
init @ Three.dev.js:726
Three.dev.js:726 WebGL: INVALID_OPERATION: getUniformLocation: program not linked
init @ Three.dev.js:726
Three.dev.js:727 WebGL: INVALID_OPERATION: getUniformLocation: program not linked
init @ Three.dev.js:727
Three.dev.js:727 WebGL: INVALID_OPERATION: getUniformLocation: program not linked
init @ Three.dev.js:727
Three.dev.js:727 WebGL: INVALID_OPERATION: getUniformLocation: program not linked
init @ Three.dev.js:727
Cityscape.js:120 HIGH
Loader.js:240 Uncaught TypeError: Cannot read property 'addSound' of undefined
    at bkcore.threejs.Loader.loadSound (Loader.js:240)
    at bkcore.threejs.Loader.load (Loader.js:94)
    at Object.load (Cityscape.js:121)
    at bkcore.hexgl.HexGL.load (HexGL.js:153)
    at init (launch.js:27)
    at HTMLDivElement.$.onclick (launch.js:70)
launch.js:39 LOADED geometries : track.cityscape.scrapers1 ( 1 / 44 ).
launch.js:39 LOADED geometries : bonus.base ( 2 / 44 ).
launch.js:39 LOADED geometries : booster ( 3 / 44 ).
launch.js:39 LOADED geometries : track.cityscape.scrapers2 ( 4 / 44 ).
launch.js:39 LOADED geometries : track.cityscape.start.banner ( 5 / 44 ).
launch.js:39 LOADED geometries : track.cityscape.start ( 6 / 44 ).
launch.js:39 LOADED geometries : track.cityscape.bonus.speed ( 7 / 44 ).
launch.js:39 LOADED textures : hex ( 8 / 44 ).
launch.js:39 LOADED geometries : ship.feisar ( 9 / 44 ).
launch.js:39 LOADED geometries : track.cityscape ( 10 / 44 ).
launch.js:39 LOADED textures : spark ( 11 / 44 ).
launch.js:39 LOADED textures : cloud ( 12 / 44 ).
launch.js:39 LOADED textures : ship.feisar.diffuse ( 13 / 44 ).
launch.js:39 LOADED textures : booster.sprite ( 14 / 44 ).
launch.js:39 LOADED textures : ship.feisar.specular ( 15 / 44 ).
launch.js:39 LOADED textures : ship.feisar.normal ( 16 / 44 ).
launch.js:39 LOADED textures : track.cityscape.scrapers1.diffuse ( 17 / 44 ).
launch.js:39 LOADED textures : booster.diffuse ( 18 / 44 ).
launch.js:39 LOADED textures : track.cityscape.specular ( 19 / 44 ).
launch.js:39 LOADED textures : track.cityscape.diffuse ( 20 / 44 ).
launch.js:39 LOADED textures : track.cityscape.normal ( 21 / 44 ).
launch.js:39 LOADED textures : track.cityscape.scrapers1.specular ( 22 / 44 ).
launch.js:39 LOADED textures : track.cityscape.scrapers2.normal ( 23 / 44 ).
launch.js:39 LOADED textures : track.cityscape.start.diffuse ( 24 / 44 ).
launch.js:39 LOADED textures : track.cityscape.scrapers1.normal ( 25 / 44 ).
launch.js:39 LOADED textures : track.cityscape.scrapers2.diffuse ( 26 / 44 ).
launch.js:39 LOADED textures : track.cityscape.scrapers2.specular ( 27 / 44 ).
launch.js:39 LOADED textures : track.cityscape.start.specular ( 28 / 44 ).
launch.js:39 LOADED textures : bonus.base.normal ( 29 / 44 ).
launch.js:39 LOADED textures : track.cityscape.start.banner ( 30 / 44 ).
launch.js:39 LOADED textures : track.cityscape.start.normal ( 31 / 44 ).
launch.js:39 LOADED textures : bonus.base.diffuse ( 32 / 44 ).
launch.js:39 LOADED textures : bonus.base.specular ( 33 / 44 ).
launch.js:39 LOADED images : hud.speed ( 34 / 44 ).
launch.js:39 LOADED texturesCube : skybox.dawnclouds ( 35 / 44 ).
launch.js:39 LOADED images : hud.bg ( 36 / 44 ).
launch.js:39 LOADED analysers : track.cityscape.collision ( 37 / 44 ).
launch.js:39 LOADED analysers : track.cityscape.height ( 38 / 44 ).
launch.js:39 LOADED images : hud.shield ( 39 / 44 ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions