Pathfinding + cocoonjs = crash

0 favourites
  • 5 posts
From the Asset Store
Units do not overlap each other and use different ways if there are several free ways.
  • Link to .capx file (required!):

    "Example: Pathfinding demo" coming in C2 examples.

    Steps to reproduce:

    1. Open the "Example: Pathfinding demo" in C2.

    2. Export it with CocoonJS

    3. Launch it with CocoonJS Launcher on Android or IOS

    Observed result:

    CocoonJS Launcher Crash immediately.

    Expected result:

    Pathfinding to work like on desktop.

    Browsers affected:

    Chrome: no

    Firefox: no

    Internet Explorer: no

    Operating system & service pack:

    win7 sp 1

    Construct 2 version:

    r134

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hmm pathfinding plus Intel XDK = crash with the error:

    ncaught TypeError: undefined is not a function c2runtime.js:10945

    behinstProto.getMyInfo c2runtime.js:10945

    behinstProto.generateMap c2runtime.js:10954

    behinstProto.tick2 c2runtime.js:10928

    Runtime.logic c2runtime.js:1917

    Runtime.tick c2runtime.js:1760

    Runtime.go_textures_done c2runtime.js:1725

    Runtime.go c2runtime.js:1623

    (anonymous function)

    Simple to recreate, load up Construct 2 , drop in a sprite, add behavior / pathfinding.

    Export Project to Intel XDK, run the project and the above error. Remove pathfinding behavior and runs fine.

    This blows, i just spent a lot of cash on this program, did alot of testing in the free version, and then can't export the game to the advertised platforms, no where does it say limited functions on Ios.

    I will give it a while for a dev to reply, but i will not wait long before i start to rant on steam forms, this is bad advertising, just hope it is a bug, and is fixed quick.

    out.

  • Should be fixed in the next build (for both XDK and CocoonJS).

  • My project is kinda stuck here as well. Hoping the new build comes soon! <img src="smileys/smiley26.gif" border="0" align="middle" />

  • I just want to touch up on this old subject. I was experiencing the same problem today and found the fix in the Cordova export options.

    Uncheck 'use WKWebView on iOS (faster performance)' and pathfinding should not crash anymore. Glad it was a simple solution. Though I'm not sure how much of a performance is gained/loss, but project filesize is significantly smaller as well with it unchecked.

    Would be nice to know what WKWebView does. Is it a wrapper?

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