Joskin's Recent Forum Activity

  • If you don't see, read last posts.

    We send our games to certifications before the deadline of 14 june, but due to a lack of documentation / support (+bugs) from microsoft our Apps were refused.

  • Hoping scirra will let people who submitted first for certification before the 15th entering the competition even if the certification process finish after the 21.

  • Yep, as I said few posts ahead I've the same problem. And the GDFMaker doesn't work.

    More documentation form microsoft would be nice. If I cant join the competition coz of a microsoft bug ...

  • Yep, I did, but i'm getting an error right after creating a project, and there is no fix for this one. That's why I ragin, I'm using a non-free service and it's broken :/

    I'm sad because I worked hard for submitting the 14, and for a lack of support my chance to run the competition are very low.

    It's a new computer with just, the applications needed for compiling an app for windows store. What the hell am I missing ?

  • Failed certifications for me too -> Age Rating and rating certificates are not in the package.

    Oh realy ? Fix first GDFMaker, then I could post certificates... And of course, there is no solution from microsoft for this problem, I paid 50$ for this and there is no support. Great.

    -> "GDFMaker - index (zero based) must be greater than or equal to zero and less than the size of the argument list"

    And no, downloading en-US pack change nothing.

    Certifications process started on june 14, but i'm f**kedup ...

  • Yep I'm using the AJAX plugin and the action AJAX.LastData.

    And even with escaping string with "" : I've got an error.

    I'm trying to output

    ID - Pseudo - Score

    10 lines, 3 columns.

    I think I ll try with token.

  • Yann, thanks a lot for this clarification on JSON array.

    Even when I use your example on for my php page return, the data are not loaded into the array. If I print MyArray.AsJson I've :

    PHP return :

    {"c2array":true,"size":[10,3,1],"data":

    [     [

    ["6"],["Joski"],["3512"]],

        [["4"],["Joski"],["3392"]],

        [["5"],["Joski"],["2538"]],

        [["3"],["Joski"],["1908"]],

        [["1"],["Joski"],["3227"]],

        [["2"],["Joski"],["1333"]] (with or without comma ",")

    ]

    }

    Array as json return :

    {"c2array":true, "size":[0,0,0],"data":[]}

    => Empty array so.

    What's wrong with this, using Azure plugin and Json without problem, and now I'm totaly lost.

  • Even without the last comma I cant load from JSON into an array. Here's is what my php page returns :

    {"c2array":true,"size":[10,3,1],"data":

    [[

    ["6"]],[["Joski"]],[["3512"]]], [[

    ["4"]],[["Joski"]],[["3392"]]], [[

    ["5"]],[["Joski"]],[["2538"]]], [[

    ["3"]],[["Joski"]],[["1908"]]], [[

    ["1"]],[["Joski"]],[["3227"]]], [[

    ["2"]],[["Joski"]],[["1333"]]]

    }

    After Load Json into Array, I test if the value at array(0,0) is not egal to 0, if it's not the data are loaded succesfuly else there is an error. The value at 0,0 return 0...

  • Try Construct 3

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

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

    Thanks for your help, now I'm getting data, but I can't load them via JSON into an array :

    {"c2array":true,"size":[10,3,1],"data":[[["6"]],[["Joski"]],[["3512"]]],[[["4"]],[["Joski"]],[["3392"]]],[[["5"]],[["Joski"]],[["2538"]]],[[["3"]],[["Joski"]],[["1908"]]],[[["1"]],[["Paf"]],[["327"]]],[[["2"]],[["Vlon"]],[["133"]]],}

    Is this json wrong ?

  • Hi !

    I'm trying to read highscore from an SQL database, I need 10 results containing each 3 datas (ID, PSEUDO, SCORE).

    I found this on JSON on the forum, but it's only return one line :

         $json_data = array();

              while ($data = $req->fetch())

              {

                   $json_data = array(array(array($data['id'])), array(array($data['pseudo'])), array(array($data['score'])));

              }

         $json_data = json_encode($json_data);

         echo '{"c2array":true,"size":[3,1,1],"data":';

         echo $json_data;

         echo '}';

    And here is my response :

    {"c2array":true,"size":[10,3,1],"data":[[["2"]],[["User"]],[["1000"]]]}

    How to have multiple lines ? Can't find clear stuff about JSON ...

    Thanks !

  • Yo,

    So I have decided to implement Music into my game. Horrah!

    Except, I am running into a problem.

    When the music is playing (Using a simple "Play" command at start of frame), it prevents other sound from playing, It'd only load like, 1 sound effect (since elsewhere, there is a sound playing at start of layout) but the rest don't end up loading D:

    I messed around with preloading but didn't really get any different results.

    Anyone had similar experiences?

    I've exactly the same problem. I added music to my project, playing it at start of layout and since that sounds doesn't play.

    Any idea ?

  • Without any plugin just check the Y of the sprites, send the spite to top or bottom of layout.

    For example you could add every object in a family and do :

    For each (ordered) Family order by Family.Y -> Family Move to top of the layer.

Joskin's avatar

Joskin

Member since 26 Jul, 2012

None one is following Joskin yet!

Connect with Joskin

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies