lennaert's Recent Forum Activity

  • That doesnt appear for me... Whats appearing is what I have shown you ...

    Only this appears...

    Ahh sorry, yes, just check back last page, must have missed that one.

    Annoying really, fully blocked.

    It has to do with the cors restriction you showed in the console.

    Most likely when you export the game to html and place it on the same server as the php file, it will work.

    There are some options to disable the cors problem here, one of them could be creating a new shortcut on your desktop for chrome and add "--disable-web-security" at the end. Though, its not an advisable method to surf around with.

    Sometimes impropper configured headers can cause similair situations, but here its simply the default security of you getting information from a different domain then from where the app or page your request originated from.

  • what status error code do you get on the header?

  • this is what I get there..

    Above this console are a row of tabs, one is called the network tab. Check there.

    With that tab open, reload the page, you should see a list of urls flying by being used by your app. Your requested url is among them. Find it in that list, click it, and to it right should show a "headers" and "response" tab ... be sure to check those.

  • After toying with everything, enabling rotate makes it that the attack animation at least points at the player, not backwards like before, so thats something, a step forward, thanks Lennaert

    One step at a time ^_^

  • Hi,

    Saw this post, and hadn't made a generating thing before, so gave it a try.

    dropbox.com/s/8swo7iclhskgckw/grower.capx

    I havent made something like this before, so saw as a bit of a challenge.

    I don't know if its bad, but it resmbles what you asked :P

    The grower instance has some variables you can tweak.

  • > Did you uncheck Rotate object on the pathfinding behaviour ?

    Yes, everything is unchecked, here it is the image

    Tried Rotation Speed to 135 or something like that, nothing

    I've had a couple times where another behaviour, such as the bullet or the moveto behaviour, their rotate object option got in the way. -_-

    Try disabling set Angle

  • Hmm, what does the web tool tell you in response ?

    chrome: ctrl + shift + j, tab network, with this open, press F5 for reload.

    click on the request (the url should show) in the second tab from the left, and then investigate the tabs headers and response relating to your request.

    Should give a clear indication of whats going on.

  • Did you uncheck Rotate object on the pathfinding behaviour ?

  • How do I do that?

    I tried adding a script and putting this code in there and making it before the request....

    and it didnt work...

    In construct editor, right above your Ajax send request.

    Add:

    Action: Ajax Object -> Set request Header

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could try and add these headers right before the request:

    header: "content-type"

    value: "application/xml"

    header: Access-Control-Allow-Origin

    value: "*"

    header: "Access-Control-Allow-Headers"

    value: "*"

  • No idea if my bug is similar to yours...

    but I am having trouble using my Ajax...

    If your using PHP pages, you likely need to add:

    header("Access-Control-Allow-Origin: *");

    header("Access-Control-Allow-Headers: *");

    At the top of the php pages.

lennaert's avatar

lennaert

Early Adopter

Member since 8 Oct, 2013

Twitter
lennaert has 13 followers

Connect with lennaert

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

25/44
How to earn trophies