Export HTML5 WEB Problems

0 favourites
  • 5 posts
From the Asset Store
For problem solving, puzzles, bubbles, platforms and other adventures.
  • Hi, my C2 game can be run perfectly in test mode (C2 Run layout btn).

    However when published into HTML5 game, I got errors like this:

    c2runtime.js:440 Uncaught TypeError: r.Lj is not a function

    c2runtime.js:436 Uncaught TypeError: f.Wm is not a function

    c2runtime.js:436 Uncaught TypeError: f.Wm is not a function

    Why?

    C2 Release 227 64bit

  • Hi, my C2 game can be run perfectly in test mode (C2 Run layout btn).

    However when published into HTML5 game, I got errors like this:

    c2runtime.js:440 Uncaught TypeError: r.Lj is not a function

    c2runtime.js:436 Uncaught TypeError: f.Wm is not a function

    c2runtime.js:436 Uncaught TypeError: f.Wm is not a function

    Why?

    C2 Release 227 64bit

    Are you using any non-standard plugins?

    Have you tested without using minify?

  • Well, I think I find the cause: minify script

    When enabled and published, I will definitely get those errors.

    While disabled, everything is good ~

    Any suggestions?

  • > Hi, my C2 game can be run perfectly in test mode (C2 Run layout btn).

    > However when published into HTML5 game, I got errors like this:

    >

    > c2runtime.js:440 Uncaught TypeError: r.Lj is not a function

    > c2runtime.js:436 Uncaught TypeError: f.Wm is not a function

    > c2runtime.js:436 Uncaught TypeError: f.Wm is not a function

    >

    > Why?

    >

    > C2 Release 227 64bit

    >

    Are you using any non-standard plugins?

    Have you tested without using minify?

    without using minify, everything is OK~

    I used LiteTween v1.4, SpriteFont+, and callJS

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The non-standard plugins are most likely the problem.

    You can test by creating a new project and adding one plugin at a time and export with minify.

    If you find the plugin that breaks, then the author would need to remedy the problem.

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