Shubi's Forum Posts

  • Sorry, its a construct 2 problem , i will post it there!

    Sorry!

  • hi,

    i used AJAX to load and save data from a server, i finally got it working in preview but as i exported it to android it stopped working,

    i searched it and many posts in forum says it is not working with android for them too, but not one of them is answered or solved,

    anyone knows about this major problem? , is there a solution to this?

  • https://www.scirra.com/manual/112/facebook

    https://www.scirra.com/forum/how-do-i-frequently-asked-questions_t63692

    https://www.scirra.com/forum/search.php

    You're welcome.

    Thanks Kyatric

    can you be more specific please?

    because i searched these links thoroughly and only thing i got from them is that i can request my hi-score rank from the leader-board... can i request my friend's rank too? so that i can receive their level number and show it in the game?

    if not, then how will i know the level number my facebook friends are playing on?

    Please please please help me out here as i have tried everything for days now, please can you be more straightforward about how to do it?please...

  • Hi, i buy your plugin but plugin Cordova Facebook not working now??? I cant bulid on cocoon and phonegap. Error. Plase tell me

    cranberrygame

    Same here.... please help!

  • uhm, ok, I suppose you have already used no-save behavior on ALL possible objects .. I really do not know what else to do sorry

    Ok,

    anyone else have any idea about this....?

  • I fear it is impossible but if you try to explain why you would like to do it maybe we find another system that is not "destroying layouts"

    Hi NN81

    i am saving the game with save-game feature and then i am sending .json file to a server to save that progress,

    since the .json code is pretty large (even when i use no save feature with many objects),it takes a lot of time to send that data,

    thus i want to prevent unnecessary layouts from saving and contributing to the code.

  • Hi everyone,

    Please let me know if there is a way to save just like 2/5 layouts in their current states with savegame feature--

    in other words is there a nosave feature for layouts too?

    please reply ...

    thank you

  • Happy diwali to all indians out there!

    Its been a while since i posted this and no replies yet

    i need this feature to show facebook friend's display pics in my game along with the info of there knowledge

    please help me Kyatric you know everything, please help me a little here!

    Thank you

  • Hi,

    I wanted to know how to get the data of facebook friends playing the same game to show the user his progress against the progress of his friends in the same game?

  • Edit :

    Found the answer

    Here...

    https://www.tutorialrepublic.com/php-tutorial/php-mysql-where-clause.php

    Thank you

  • Hi,

    i have created a high-score table in database of a server for my game with the help of this tutorial -

    https://www.scirra.com/tutorials/4839/creating-your-own-leaderboard-highscores-easy-and-free-php-mysql/page-2'

    Now whenever i request php it gives me a list of top scores i.e. names against there scores

    I just wanted to know that is it possible to request just the score against a particular name only?

    For example : I have store this table on server database Rank Name Score

    -------------------------------------------------------------------------------- 1 -------Harry----1000

    -------------------------------------------------------------------------------- 2 -------Sam------700

    --------------------------------------------------------------------------------------------------------------

    -------------------------------------------------------------------------------- 12 -------Monica-500

    Is there a way to request the score against name "monica" only? (by editing code in php_request)

    The php i am currently using is this...

    <?php

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

    $host="localhost"; // Host name

    $username="username"; // Mysql username

    $password="password"; // Mysql password

    $db_name="database"; // Database name

    $tbl_name="scores"; // Table name

    // Connect to server and select database.

    mysql_connect("$host", "$username", "$password")or die("cannot connect");

    mysql_select_db("$db_name")or die("cannot select DB");

    // Retrieve data from database

    $sql="SELECT * FROM scores ORDER BY score DESC LIMIT 10";

    $result=mysql_query($sql);

    // Start looping rows in mysql database.

    while($rows=mysql_fetch_array($result)){

    echo $rows['name'] . "|" . $rows['score'] . "|";

    // close while loop

    }

    // close MySQL connection

    mysql_close();

    ?>

    I have been struggling with this question for a while now, have searched a lot but nothing to help with this.

    Please please kindly help...

    Thank you

  • Construct has built-in savegames support.

    Ashley

    Thank you very much for replying,

    With all due respect to the save game feature,

    The problem here is that when a user starts playing a large game such as "candy crush" there are possibilities that he/she may have to uninstall the game in between when he/she has not completed it yet,(it could be a device damage, device space shortage or a user may get bored for once but want to start playing again),

    In such a situation when the user will install the game again/or in any other device, the saved game cannot be accessed unless it is reinstated from an online(cloud) storage with ex. facebook login as storage id

    So can you please tell whether its is possible in any way to do so?

    Thank you

    -shubham

    Edit : I just read the link you shared, and i now know that i can take my game anywhere i want but the question still is that can we use facebook cloud to automatically save game data and give it to user whenever he/she needs it like candy crush does.

    Thank you

  • Ashley

    Please please please help us a little here, please!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Anyone ?Please... share your wisdom! i dont want this post to vanish.

  • Hi guys,

    I am making a game integrated with facebook.

    I was wondering if there was a way to do it so that whenever a player joins the game through facebook from any device, he/she could get his game progress reinstated in the app.

    So far i could not find any thread discussing this correctly...

    please help if you know.

    Thank you