franmcod's Forum Posts

  • that is cool but i would like to avoid plugins for something so simple, i'll try to parse it manually and add to the dictionary...

  • it gave an .json with this {"c2dictionary":true,"data":{}}, i've read something about double quotes, is it that? so something like { ""0"":null,

    ""1"":""bronze sword"",

    } ?

  • hey i'm have read some post about this, and i'm not sure where is my mistake...

    gyazo.com/47b6a5238c5f82cf4c9ed9f6e98c8011

    The Ajax.LastData returns { "0":null,

    "1":"bronze sword",

    "2":"bronze pickaxe",

    "3":"bronze axe"

    but the dictionary it self is still empty

  • Fengist that would be cool, and it is allowed, but it doenst work, the Invoke download just creates the file

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i've tried using Ajax directly to get the results, didin´t allow, error: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    Is there a way to lead a file automatically, if i know the name of the file, could i tell to open it, without having to manually open it with file choser?

    If the Browser Object manages to create the correct json file, it means at some point it had the byte[] data, so it should be possible to access this, or not, i dunno. xD

  • Nice!! the Object.asJson in the instancevarialbes[], each variable has an interesting key("7492324802..", "john"), when the ivs was name : john, not rlly a problem just interesting.

    The Problem now is getting the data from the web, i am trying to use the Browser Object, i can do the Invoke download with the url, and it creates a json file, with the correct information, but i really don't want a file, i would like to have either a string, or something that i can use :/

  • Hey! I want to create a twitch chat thing, using the twitch API.

    I never used json in C2, so i am kinda stuck xD

    I've used the Browser Object to Invoke Download(URL), that creates a file in my downloads folder. Now i have no ideia how to use the file, and to parse the json :/

    Is there a better way of doing this, without having to create the file.

    thx in advance!

  • You do not have permission to view this post

  • make the vision of the object visible? care to elaborate?

  • You sir, are a god! thank you so much!

  • Hey, maybe u can check this small youtube series, the game he is making is a HeartStone clone, so it has that turn mechanic u want.

    link: with the www before youtube.com/watch?v=5ylU9cFpF7Q

  • ok good to know, but i was talking more about something like this

    Thx in advance

  • yes, yes it did, thank you!

  • I've seen this in a lot of games, and i think it looks terrible, the fact that more than half of my player collision Box is not touching the platform, and i don't fall, or react to it.

    i 've tried messing with the collision box, but never got close to what i want

    Is there a standard way to check if i'm on an edge? must i set image points on the edge objects?

    THanks in advance!

  • Notice me SENPAI!