edescamps's Forum Posts

  • Hey! I would like to leave a star review (5). I did a little research before I decided to purchase the plugin (a few hours), and found that some people were having trouble with it. I was hesitant at first, but quickly realized I had no option but to try it out.

    So far I've only tested the login function but it worked perfectly without having to burn myself out. I even opted to compile my app through phonegap build! All you need is to add the following code inside of your config.xml:

    <plugin name="cordova-plugin-facebook4">

    <params>

    <param name="APP_ID" value="XXXXXX" />

    <param name="APP_NAME" value="XXXXX" />

    </params>

    </plugin>

    Where the XXXXX is your app id and app name.

    Great work!

  • Thanks!

  • Hello. I'm trying to save an data from an array as a JSON file to MySQL using AJAX. Is there a way to accomplish this with C2?

    If not, I am thinking of constructing a string with array data and saving it to MySQL with AJAX. What is the maximum character length for a global variable in C2?

    Also, what is the maximum length of a response that AJAX can handle in C2?

    Thanks!

  • Ashley bump. Hey! Do you have any idea on how to do this?

    Thanks in advance.

  • Hello. I know how to handle multiple game pads in a single game, but in order to do so, I copy the code controlling each instance of the object I want to control and change the game pad number.

    What I'd like to do is write the code once, and have construct automatically detect which game pad it is (id=0) and control the corresponding object (Insatnce ID=0).

    Basically:

    On A Pressed on Gamepad "X" ---> Destroy Object with Instance ID "X"

    Thanks!

  • Thanks. I realized I was using a tutorial for webstorage and the syntax differs somewhat.

  • Hello. I saved the contents of an array as JSON in local storage. Now, id like to load that JSON file back into the array. How do I do that?

    Thanks in advance.

  • Hello. I'm trying to keep a sprite centered on the window as I move it around a layout that is larger than the window. For some reason, the sprite collides with two imaginary boundaries, one on the x axis and one on the y axis. Is it a C2 error?

    https://www.dropbox.com/s/srcuzms1qpk5d ... .capx?dl=1

    Please help!

    How do you include a capx in the forums?

  • mindfaQ: your code works great! there's one problem tho. you can easily replicate it. put two pieces of the same color together (only 2) and then do the same for 2 pieces of a different color. the four of them will be counted as a match, and they shouldn't be. i'm trying to fix it, but i'm only making it worse. any help is appreciated!

    i believe i can fix it if i reset all of the pieces' status to 0 after matches are checked. i'll repost if it works.

  • thanks man. ill check it out.

  • thanks man. you're awesome!

  • probably. there are many ways pf going about this. i know of at least 3 ways.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks mindfaQ. I haven't been able to see your capx because i need to download the beta version of C2, but could you please elaborate on how my exchanging of pieces is flawed? It would be a great help for the future!

  • Hello! I'm working on a Diamond Dash type matching algorithm. Right now it works 95% of the time, all of the time (lol).

    The idea behind it is simple. Once a game piece is placed, check the game pieces around it, starting at 0 degrees working its way counter clockwise. Once a match is found, check pieces around that game piece. If no matches are found, retrace steps and check pieces that have not been checked.

    Please take a look at it, feel free to use the algorithm and comment any bugs that are rendering it unuseful 5% of the time!

    Thnx!

    https://www.dropbox.com/s/9q0eadso2xvv3 ... .capx?dl=1

    PS: Cannot attach capx to post for some reason...

  • Awesome! Thanks Frag.