bliskenx's Forum Posts

  • Manged to solve it. I added this to the PHP header of the server API

    if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') { return $error; }

  • Thanks for the reply. Im getting "Response to preflight request doesn't pass access control check: It does not have HTTP ok status." CORS policy.

    My server does have the headers in:

    header ("Access-Control-Allow-Origin: *"); header ("Access-Control-Expose-Headers: Content-Length, X-JSON"); header ("Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE, OPTIONS"); header ("Access-Control-Allow-Headers: *");

  • Hi Guys

    How do i use the AJAX plugin to pass basic AUTHENTICATION in the header?

    I've tried to set the request header with :

    "Authorization" value: "Basic base64KEY"

    This works in POSTMAN but not in Construct.

    Can somebody help me understand why? thanks

    Tagged:

  • Ok Solved.

    Basically its the error that the browser is not supported. You just cant see the text.

    To fix that, you need to upgrade the browser ( chrome in my case on the Huawei ) and that solved the issue.

    c2runtime with webgl also works, for this supports older browsers.

    Best of luck!

  • Got the same issue with the same plugin. I dont ignite the MobileAdvert on the first layout but my game is blank "White Screen" after first loan.

    Huawei P30 lite is the phone im testing on.

    Things ive tried:

    "also i moved the music to the sounds folder as i read, but no change."

    Using C3 Runtime, and script not compressed on export.

    Tip: Some say we should disable webGl but then i would be forced to use c2runtime. I will try but that's not what i want.

  • 100% and in there defense i understand that issues will come, bugs, lack of hands maybe etc. We have a software development company and i fully understand.

    It's just when you have a issue that corresponds to the way users potentially earn revenue off what it is they trying to make, you think they would at least give it some serious attention. Its a built in function and a draw card to why i purchased C3.

    Almost a year since the bug was posted on there repo and still no fix. Its not good delivery practice.

    You might be right, maybe time to look for alternatives.

  • Look i know you guys are focused and under the weather but come on guys!! Simple , critical things should at least be addressed within a year, surely????

    So many individuals are complaining about the InAppPurchase bugs and are now forced to buy other plugins cause your built in C3 version doesn't work correctly.

    github.com/Scirra/Construct-3-bugs/issues/2047

    construct.net/en/forum/construct-3/how-do-i-8/iap-bugs-using-construct-143355

    I can post more links if you like!!

    If you going to charge for software at least deliver on some sort of service delivery. I understand bugs is a thing but to wait a year is ridiculous.

    Then rather remove it from your built in list and make it somebody else problem.

    Tagged:

  • Hey Brandon

    I'm having the exact problem with the Native Plugin. You think they would look into this.

    Going to try that other plugin that you suggested.

  • aviata Yes it will!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, found the problem. Might want to make a note.

    Dont use the latest Cordova with Wkwebview. Used 5.4.1 and it solved my problem.

  • Problem Description

    pathfind.js 151 fails when WKwebview enabled. Build 230

    Attach a Capx

    N/A

    Description of Capx

    N/A

    Steps to Reproduce Bug

    Just add pathfinding to a object and set path then export to XDK or Xcode enable WKWebview and when pathfind starts it freezes screen.

    Observed Result

    When the Wkwebview-engine is installed with cordova the pathfind.js ( Line 151 ) fails due to "SecurityError:DOM Exception 18".

    Pathfinding then does not work.

    i've added Ive installed WhileList plugin & transport-security plugin to play safe. But no luck.

    Expected Result

    For pathfinding to work

    Affected Browsers

    ALL

    Operating System and Service Pack

    Windows 10 Home / Xcode 7.3.1

    Construct 2 Version ID

    Release 230, 64-bit

  • flemmig Did you get this to work?

  • ThePhotons I will post it once i can get the performance beter. Sending across 50 objects X & Y for the non host to sync is difficult without lag. I might have to add some interpolation to get that smoothed out.

    What would you advise for something like that? Send over X, Y for 30 Plus objects every 1 0r 2 secs?

    Strange thing is using the construct MP plugin i dont have that problem but it doesnt support IOS .

  • ThePhotons I actually just managed to get this all to work. Im now going to take 2dgamedev advise to smooth out the jitters with Lerp.

    Once i've tested and checked all. I'm going to write a tutorial on how to create a TD based game ( or realtime shooter ) with Sync objects spawned. ( using pathfinding too )

    The trick is to balance as much local logic to reduce the number of events sent.

  • 2dgamedev Thanks for that. Ill have a look at lerp.