Prox's Recent Forum Activity

  • <img src="http://world-inventors.com/screen3.png" border="0">

    Working CAPX

    But you could do the same without the "pick instance with UID" <img src="smileys/smiley17.gif" border="0" align="middle">

  • Your mistake is that your function "Hop" is called only once per click, so it only get one ID (the first).

  • It's very simple <img src="smileys/smiley2.gif" border="0" align="middle" />

    <img src="http://world-inventors.com/screen2.png" border="0" />

    This is a pointless example, because it's the same as:

    On Touch Object : MyObject => MyObject : Set Width

    But it should give you a point of view how to work with UIDs and function parameters.

  • If you want a return message from AJAX:"Request URL" your php script should generate some output, like:

    echo "done";

    or if you want return the number of bytes that were written to the file:

    $bytes = file_put_contents("data.txt", $_GET['myVar']);

    if($bytes !== false){ echo $bytes; }else{ echo "failed"; }

    I suspect your error messages are based on incorrect web-server settings.

  • [German] >> Sch?n zu sehen das es hier noch ein paar Deutsche gibt. <img src="smileys/smiley20.gif" border="0" align="middle" />

  • Where do you capture this error messages?

  • You dont need ONE variable, you will need an array, because you must store many positions. I would also recommend to store position data every second and not every tick.

  • Mission accomplished. <img src="smileys/smiley42.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your C2 Version doesn't matter.

    PHP stopped ... hm ^^ You should try to upload all stuff to a different server.

    You have done everything right and it should work.

  • Do you use Firefox with an Addon like "Request Policy" or some crazy restrictive firewall-rules ?

    Capx ... checked

    PHP Script ...checked

    Server config and permission ... checked

    So the last thing we have not checked is your Browser / System ^^

    Good luck finding the error <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Nope they only have to be at the same domain.

    In my current project all AJAX Requests work fine and i'm sorry but i can't figure out where your problem could be. We already checked the most relevant parts.

Prox's avatar

Prox

Member since 3 Apr, 2013

None one is following Prox yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies