irina's Forum Posts

  • hello,

    I need some help with ajax post.

    I want to send a txt string to server and to use that string to get the responce.

    iw set ajax as this:

    tag: "search"

    url: from my variable&"search.php"&"?AskMe="

    data: TextBox.Text

    method: "POST"

    and my php fails on this:

    <?php

    // string to search in a filename.

    $searchString = $_POST['AskMe'];

    .

    (here's more of my php that properly works)

    .

    ?>

    what am i doing wrong? ...how to properly POST string from my textbox.text to my $searchString in php?

    thanx!!!!

  • Can anybody tell me why this works for me only in NW.js and not i any of browsers?

    and i can type image adress in browser manually and it works but not through C2 preview?

    ie even shows this error:

    javascript error

    security error

    http://my.local.ip:50000/glwrap.js, line 2138 (col4)

    help <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • korbaach

    Sorry to bother you again.... i am so miserable in my agony... wich version of C2 are you using? (i am on 244/64bit)

  • ok... atleest i know that problem is on my end.

    thank you for your time!!!

  • what!?

    this was the last thing i was expecting... or better i was not expecting this answer at all...

    ...so where do i need to look for source of my problem???

  • Hello!

    I have a big problem with image load...

    Sprite won't load image from my URL but it will from some other... eg. vimeo...

    http://www.vixus.hr/foto/LoadImage.capx

    I'w changed permisions on server but nothing helps.

    I't works in NW.js but not in any of browsers.

    What am i doing wrong?

    help?

  • thanx for the help... but with this i have sort of semi solution where i actually get immages (i get their data, name etc.) but i dont see them.... they are all black!?

    im confused...

  • Hello,

    here goes mine trouble...

    i have on server some images

    i make ajax call on my action.php wich looks like this:

    <?php
      header('Access-Control-Allow-Origin: *');
      $imagesDir = '';
      $images = glob($imagesDir . '*.{jpg,jpeg,png,gif}', GLOB_BRACE);
      echo json_encode($images, JSON_UNESCAPED_UNICODE);
    ?>[/code:20bikun7]
    
    it works but i have local characters problems.
    when i set header to:
    
    [code:20bikun7]<?php
      header('Content-type: text/html; charset=UTF-8');
      $imagesDir = '';
      $images = glob($imagesDir . '*.{jpg,jpeg,png,gif}', GLOB_BRACE);
      echo json_encode($images, JSON_UNESCAPED_UNICODE);
    ?>[/code:20bikun7]
    i manage to get rid of characters problem but it works only in NW.js and i have no ajax responce in any major browser... 
    
    any idea how to fix this?
  • R0J0hound

    hello

    I use your Paster and it works ok but when i make preview in cocoon ios app it works only in canvas+ and not in webview?

    can you comment on this?

    Tnx!

  • Naji

    Consider this.... in your example you right swipe to get back and when you are to your 1 level columns just use next right swipe as your auto "back button" so user dont ned to push anything and that motion would come quite natural.

  • Same problem here... did anyone find a solution to properly locking the orientation?

    (im testing it on Intel XDK iOS app both from server and from local)

  • Gigatron

    Can you make it possible to change the center of perspective?

    eg. now is currently in the center of screen/canvas....

    can it be possible to move it closer to the bottom of the screen to be used in top/down view (to get more like isometric perspective)?

  • Gigatron

    its ok now...

    one question... how can i make objects to have rooftop sprite on rooftop place and sides to have wall sprite?

    tnx!

  • Gigatron

    Hello!!!

    ...when i open your capx i get following FX missing:

    *rays rotation fx

    *running fx

    *Yuv rotation fx

    where to download them?

    tnx!

  • Gigatron

    Excellent!

    is it possible to change the center of perspective?

    i prefer it as a top/down view and i would like to shift center of perspective to bottom of the screen.

    tnx!