Javascript error

0 favourites
  • 5 posts
From the Asset Store
Use this game pack to create your own game, modify the existing game or simply take a look and see how it was made.
  • Hi, I have a bit of a trouble here...

    I created and published a pair of games some time ago. They worked very nice but suddenly both stopped working and now the games crash as soon as there is a collision that triggers a sound <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    Keep in mind that those games have been online for more than one year without problems, this bug started some days ago.

    I have been adviced from a user who got the game crashing as soon as he plays the game. So, to verify he is not the problem I tried by myself and got instant crash too in every browser I try ... <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    Then I tried to load the game inside Construct2 and running the layout in localhost. Then I have got this message:

    "Javascript error!

    Uncaught TypeError: Cannot set property 'value' of undefined http://localhost:50000/Audio_plugin.js, line 328 (col41)

    This is either a bug in Construct2 or a problem in third party plugin or behavior - please report it to the developer!"

    So, any idea on how to solve the situation? Keep in mind that those two games worked fine for more than one year and I have not updated them nor did anything to them so provably I'm not the only one with the same case...

    Many thanks in advance,

    Ignasi Vidal aka Topeich.

    Ps. Just in case both games where created using Construct2 release 108.2

  • Sounds like an error with a browser update, try it in other browsers?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Could be to do with a chrome update that breaks the audio - see this post from Ashley.

    Just needs re-publishing with newer build.

  • Thanks Zenox, I have'nt found an answer so I post my own threat. After reading the post you pointed me seems that the best solution is to install a newer Construct2 version and re-publish my games...

  • So, it works, but one of the games has some strange behaviours so it will not be as easy as to re-export again. I'll need to redo some parts of the game, hopefully it will not be hard... Thanks for the help!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)