zeigewas's Forum Posts

  • 12 posts
  • Oh... Ok thanks, it works!

  • Hello,

    I have browser.query, which request the current language (index.html?lang=DE).

    After that I compare the variable. If it is 'DE' it should load the file de.xml

    So the problem is it don't stop loading this file.

    The browser inspector show that the file is loading again and again and don't stop.

    Can some one help me finding out where the problem is?

  • But I don't have the variable in Construct 2. it's only a browser url parameter

  • Ok and how can I check if the user variable is set in Construct2?

  • Hello together

    I have a javascript which should show a button. Only when user ist set the button should be shown.

      var url = document.URL;
      var user = url.split("&user=");
      if(user != "") {
      user = user[1].split("&");
      }
    
      if(user[0] != "NOUSER" && user[0] != "") {
      // Show Button
      }[/code:20409sjf]
    
    So now my question is how can I add this function to Construct 2, so that a button is set to invisible.
    
    GREETS
  • Ok, I find out where the problem was.

    I deleted the sound files and all Audio inculcate now the game works in IE9.

  • Ok, so there is no fix which make it possible to play the game in IE9?

  • For me it would be no problem to avoid Internet Explorer. But our customer only works with IE9, so I have no other chance.

  • Hello ,

    I have a bug in my game with IE9. When I start the game the screen keeps black and in console I get following errors:

    LOG: Assertion failed: JS engine does not provide full typed array support 
    
    SCRIPT5022: abort() at (no stack trace available)
    If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information. 
    c2runtime.js, line 22056 character 15
    
    SCRIPT438: Object doesn't support property or method 'getObjectRefTable' 
    c2runtime.js, line 3917 character 3
    [/code:szcp84h9]
    I hope someone can help me.
    
    Greets,
    Simon
  • That helps me a lot... Thank you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    thank you for the fast reply.

    Here is the download file: https://www.dropbox.com/s/36jznl1aqh9cu ... .capx?dl=0

  • Hello,

    at the moment I started to make my first game with Construct 2.

    So I added some Objects and make some test.

    But now when I start the game, following message appears:

    [quote:30lbtt8s]

    Assertion failure: Physics polygon separation resulted in no polys. Make sure all your collision masks for objects with the Physics behavior are valid and don't have any overlapping lines.

    Stack trace:

    assert2@http://localhost:51000/preview_prelude.js:16:10

    cr.b2Separator.Separate@http://localhost:51000/Physics_behavior.js:982:2

    behinstProto.createBody@http://localhost:51000/Physics_behavior.js:1703:19

    behinstProto.postCreate@http://localhost:51000/Physics_behavior.js:1332:3

    Runtime.prototype.createInstanceFromInit@http://localhost:51000/preview.js:3206:5

    Layer.prototype.createInitialInstances@http://localhost:51000/layout.js:1406:12

    Layout.prototype.startRunning@http://localhost:51000/layout.js:219:4

    Runtime.prototype.go_loading_finished@http://localhost:51000/preview.js:1880:4

    Runtime.prototype.go@http://localhost:51000/preview.js:1735:4

    Runtime.prototype.initRendererAndLoader@http://localhost:51000/preview.js:711:3

    Runtime.prototype.loadProject@http://localhost:51000/preview.js:1574:3

    Runtime.prototype.requestProjectData/xhr.onload@http://localhost:51000/preview.js:396:6

    assert2@http://localhost:51000/preview_prelude.js:26:4

    cr.b2Separator.Separate@http://localhost:51000/Physics_behavior.js:982:2

    behinstProto.createBody@http://localhost:51000/Physics_behavior.js:1703:19

    behinstProto.postCreate@http://localhost:51000/Physics_behavior.js:1332:3

    Runtime.prototype.createInstanceFromInit@http://localhost:51000/preview.js:3206:5

    Layer.prototype.createInitialInstances@http://localhost:51000/layout.js:1406:12

    Layout.prototype.startRunning@http://localhost:51000/layout.js:219:4

    Runtime.prototype.go_loading_finished@http://localhost:51000/preview.js:1880:4

    Runtime.prototype.go@http://localhost:51000/preview.js:1735:4

    Runtime.prototype.go/</<@http://localhost:51000/preview.js:1816:55

    Subsequent failures will now be logged to the console.

    Can someone helps me where my failure is?

    Hope to hear from someone sone,

    Simon

  • 12 posts