lennaert's Forum Posts

  • Can you try my php file on your host ?

    dropbox.com/s/mhbfjxvi3jhvb9b/test.php

    And try the other browsers

  • What do you suggest format my pc???

    Uninstall chrome??

    =/...

    Thats a bit overkill lol

    Odd, I copied that adress you used: pixelaborhost.com/testando/ajaxs.php

    and for me that gets blocked too, while the one to my domain works for me ...

    Do you have another browser ?

  • Yeah, I know, was a bit too fast there hehe

    But euhm, that should have worked.

    If not, imo it points to your browser, or some security involving the client (your side of the connection).

  • So ... I did a test with a simple file, and that works with the default preview.

    dropbox.com/s/jp8xxrhelz21yyp/test.c3p

    Thats a really simple file, it links to a php page on my domain

    content of said php file:

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

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

    echo "meh";

    Can you test if the c3p file with my link works for you ?

  • Try switching it back to a post.

    In the past I had to encode the values of the variables, and decode them on the other end.

    Though, for a simple post, no data should be required.

    Try with a post, and check the status error.

  • mind checking again for my new message?

    I believe this time i got an error code...

    MY REQUEST METHOD is appearing as OPTIONS wich i find weird??

    shouldnt it be post?

    Yes, perfect!

    Hmm, could you try changing your POST to a GET ?

  • 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 ^_^

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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 ?