irina's Recent Forum Activity

  • thanks, ill try call for maybe he can tell me more...

    Maybe to set timer for like every 300 seconds to make ajax call? ... can that be set in included event? will timer work independently regarding other layouts/sheets and their execution?

    Problem is that this is an app and users can click and switch layouts quite offten and i really dont need that ajax to be updated very frequently... once per sesson or once per day is quite allright.

    But how to set that? How to set that ajax gets responce even if user switches layout?

  • Hello

    I need some clarification regarding included event sheet.

    I use one event sheet to download geodata from http://freegeoip.net/xml

    I have included this sheet to several other sheets and now i have this question...

    Does ajax download starts everytime i change from one to another sheet or is it executed only once even this sheet is included to several others?

    I am doing this becouse user can via click go from one layout to the other before download finishes and i really would not like to accidentaly flood them with requests.

  • marcinkowski

    I can tell you how i do things...

    I give my app to "dumbest" testers arround me... my small niece, old mother etc. sit by their side and watch what they do.

    (They start clicking on screen without any sence... they dont read instructions... etc)

    Now try to add visuals that would get in order those kind of users.

  • matriax

    Excellent work!

    Is it possible to set small angle to camera so that its not exactly 90° top down?

  • Lordshiva1948

    Thank you... ill try to adjust it to my problem.

  • I have several instances of the same object that are invisible and i would like to pick only the visible one?

    And on that event to trigger ajax post... but only once... becouse currently i have ajax flooding my table...

    Help!!!!

  • Kenthria

    Really impressive!

  • SOLVED:

    it was needed to add extra "&" to the each fillowing expression

    eg.

    "user_id="&userID &"&reg="&reg &"&os="&OS

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • this is mine ajax data

    "user_id="&userID &"reg="&reg &"os="&OS

    part my php that handles it looks like this:

    if(isset($_POST['user_id'])&&isset($_POST['reg'])&&isset($_POST['os'])){
    
         $user_id = strip_tags(mysqli_real_escape_string($link, $_POST['user_id']));
         $reg = strip_tags(mysqli_real_escape_string($link, $_POST['reg']));
         $os = strip_tags(mysqli_real_escape_string($link, $_POST['os']));
    
         $sql = mysqli_query($link, "INSERT INTO `$db`.`users` (`id`,`user_id`, `reg`, `os`) VALUES ('','$user_id', '$reg', '$os');");[/code:3gzpo2r0]
    
    it works ok for one dataset... eg. user_id it set to table as intended but how to send several items at once?
    ...becouse i get all set in user_id in one string
    
    So i assume problem is in ajax data setting... i must be doing it wrong?
  • Base

    hello,

    i have same problem...

    im trying to POST several variables in the same ajax request but no luck...

    Did you solve this?

  • How to One detect that APP was suspended or turned off and then resumed?

    tnx!

  • Gigatron

    Impressive!!!!

    iw seen what matriax has done with it.... great job!

    I am interested to se if global prespactive can be tilted on Z axis?

irina's avatar

irina

Member since 26 Apr, 2013

None one is following irina yet!

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies