tharindutpd's Forum Posts

  • When i call my api through ajax it response like this :

    {"SUCCESS":true,"first_name":"tharidoo","image":"","last_name":"prabash","phone_number":"","username":"thari123"}[/code:3mdujc7v]
    
    so in ajax in construct2, how to read it values. as a example i need to get the "last_name" in json response. then how to do it
  • I am getting a error when i get the first or last name in c2 facebook plugin. why?

  • Hi,

    I need to design a leader board for my web game. I was done it with AJAX and PHP and it work well. but with inspect element in Chrome i can easily hack the POST command of savescore. As i found sha1 HASH encryption and description is a one of best solution to securely transfer ajax data. So How do i use sha1 HASH with construct 2 ? Is it possible ? or is there any other solution ?

    Thanks,

  • I am working on a Facebook app. but i got a problem with image sharing on Facebook. I know how to take a snapshot of canvas. but i was unable to save this snapshot into a folder in server (in same location) and share on Facebook. Please let me know if anyone know how to save a snapshot into a folder and share it on Facebook just by one click.

    Thanks.

  • set as full screen in intel xdk

  • Try Construct 3

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

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

    No,..

    issue is still there. let us know if anyone fix it.

  • cranberrygame

    Yes. Audio is working now with media plugin. But why cant play audio/sound as loop... loop sound work only one time, not repeating, is it a limitation in Intel xdk?

  • I have been exported few apps with Intel XDK as crosswalk for android. no issue it is working fine. But now i need to build my app as android build (not crosswalk for android), because i need to limit my app 4mb. But why Sound/Audio not working in Android build in intel xdk?

  • tumira

    cranberrygame

    IIDanII

    Yes. OpenSSL warning is back...

    ( ps: and game was slow down while loading admob ads in last few days)

  • Yes!, Now above Warning alert is not there.

  • cranberrygame

    I have developed an android game with construct 2 and compiled with intel XDK crosswalk for android and i have used 4 PhoneGap plugins in this game. I have updated new version yesterday and today i have received a alert from google play saying that....... :

    "Your app is statically linking against a version of OpenSSL that has multiple security vulnerabilities. You should update OpenSSL as soon as possible.

    The vulnerabilities were addressed in OpenSSL versions beginning with 1.0.1h, 1.0.0m, and 0.9.8za. To confirm your OpenSSL version, you can do a grep via ("$ unzip -p YourApp.apk | strings | grep "OpenSSL""). For more information about the vulnerability, please consult http://www.openssl.org/news/secadv_20140605.txt.

    To confirm that you've upgraded correctly, upload the updated version to the Developer Console and check back after five hours. Please note, while it's unclear whether these specific issues affect your application, applications with vulnerabilities that expose users to risk of compromise may be considered "dangerous products" and subject to removal from Google Play."

    So, Please help me... if anyone faced same experience with above issue....

  • almostdone

    go to this post : https://www.scirra.com/forum/viewtopic.php?t=109586

    download : "Phonegap extension: game plugin" in above link

    and follow instructions in above link

  • Yes!, use a loader layout. you said it is an offline game, so load everything at the beginning of the game using loader layout.

    Or, when you call the next layout, show a loader and invisible it at the last line of onload event or load completed event in next layout.

  • Ok, Try something like this :

    ("side" is a instance variable )

    your question is not clear. if it is not the answer, give a little description

  • But I can suggest you a one answer to change the opacity of mouse cursor!.(even you can use a animation for cursor with this solution)

    Try this :

    On the start of layout -> set cursor style to "none"

    in System every tick -> set position of sprite ( that you need to use as cursor sprite ) to Mouse.X and Mouse.Y

    When you need to change the opacity, just call set opacity on that sprite