Object Creation Bug

0 favourites
  • 8 posts
From the Asset Store
Match same tiles with each other as fast as you can and earn more score during a limited time!
  • When I tried to preview my game, it said this:

    Assertion failure: Unable to load project: no JSON model available. Usually this means an error has prevented the browser loading a script. It may be a bug in Construct 2 or a problem in a third party plugin. Check the browser's error console for more information.

    Stack trace:

    Error

        at Error (unknown source)

        at assert2 (http://localhost:50000/preview_prelude.js:12:10)

        at [object Object].load (http://localhost:50000/preview.js:330:3)

        at new <anonymous> (http://localhost:50000/preview.js:132:8)

        at Object.createRuntime (http://localhost:50000/preview.js:10:10)

        at HTMLDocument.<anonymous> (http://localhost:50000/:130:7)

        at localhost/jquery-1.7.1.min.js:2:14784

        at Object.fireWith (http://localhost:50000/jquery-1.7.1.min.js:2:15553)

        at Function.ready (http://localhost:50000/jquery-1.7.1.min.js:2:9773)

        at HTMLDocument.<anonymous> (http://localhost:50000/jquery-1.7.1.min.js:2:14348)

    For reference, It was working fine until I added music and the destroy outside layout behaviour.

  • Check the browser's error console for more information.

    Did you check for errors in browser ?

    or reference, It was working fine until I added music and the destroy outside layout behaviour.

    The best reference is the capx that causes this error.

  • oh, sorry to put you through any inconveniences Kyatric , but it turned out to be that I had put "11q, 13" in my size property for my marble sprite instead of "11, 13"! That just goes to show that even the smallest mistake can screw up your entire project!

  • oh, sorry to put you through any inconveniences Kyatric , but it turned out to be that I had put "11q, 13" in my size property for my marble sprite instead of "11, 13"! That just goes to show that even the smallest mistake can screw up your entire project!

    I just tried setting a Sprite's size to "100q, 100" in a new project and it ran just fine, no errors at all. So I assume you're mistaken and that is not the cause of the problem. Could you check for browser errors like Kyatric suggested so we can find the real cause of the problem?

  • huh... well it fixed the bug, so I don't know. Plus I have no idea how to check for browser errors ASHLEY. Do you have a tutorial that you could point me to?

  • Kyatric just directed you to a tutorial just a few posts ago...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • wow I feel stupid

  • Hee hee, no problem ;)

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