AlanSmithee's Forum Posts

  • that works like a charm! thanks a lot..

    now i just have to really understand it;)

  • anyone?

  • since nobody answered my in my "how to.." post i might as well take it to the source;)

    i'm a noob trying to hack an app together that uses data from TMDB's API but i can't figure out how to make the results it returns usable in C2.

    from what i read the hash table plugin is the best bet for working with JSON in C2.. but i cant get it to work :(

    lets say i make a search request for a person like that:

    api.themoviedb.org/3/search/person

    what it gives me is:

    {"page":1,"results":[{"adult":false,"id":488,"name":"Steven Spielberg","profile_path":"/jRWARxzljSY8SbOKTludOSECdk7.jpg"},{"adult":false,"id":8700,"name":"Sasha Spielberg","profile_path":null},{"adult":false,"id":23965,"name":"Anne Spielberg","profile_path":null},{"adult":false,"id":54127,"name":"David Spielberg","profile_path":null}],"total_pages":1,"total_results":4}

    so right now i have a text input field wich modifies the search term of the request URL and the ajax object can request the the data from that URL no problem and from there i can load it into whatever i want.

    Now i'm stuck though.. nothing seems to want to work. i don't even get the "id" keys to work with me..

    my goal here is to get all the resulting persons names shown and made clickable in C2.

    any ideas where to look?

    thanks,

    Alan

  • so i guess the general jigsaw puzzle mechanic is pretty easy but i don't want to make all my puzzle pieces as a sprite/animation with the image already on it. that would make having a lot of different images(levels) more difficult and i would need to create a ton of sprites. also adding new images would require more work.

    instead i made the different types of jigsaw pieces i need as blank (white and a little shaded at the edges) .png files with alpha.

    with those pieces i made a 6x4 blank puzzle.

    now is there a way to texture the blank pieces with an image and "bake" it to position so every piece keeps the right part of the images when moved?

    am i thinking to complicated? is there maybe a better way to get there?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hey hi!

    i'm a noob trying to hack an app together that uses data from TMDB's API but i can't figure out how to make the results it returns usable in C2.

    lets say i make a search request for a person like that:

    api.themoviedb.org/3/search/person

    what it gives me is:

    {"page":1,"results":[{"adult":false,"id":488,"name":"Steven Spielberg","profile_path":"/jRWARxzljSY8SbOKTludOSECdk7.jpg"},{"adult":false,"id":8700,"name":"Sasha Spielberg","profile_path":null},{"adult":false,"id":23965,"name":"Anne Spielberg","profile_path":null},{"adult":false,"id":54127,"name":"David Spielberg","profile_path":null}],"total_pages":1,"total_results":4}

    so right now i have a text input field wich modifies the search term of the request URL and the ajax object can request the the data from that URL no problem and from there i can load it into whatever i want.

    Now i'm stuck though.. nothing seems to want to work. right now i'm experimenting with the hash-tables plugin but no success so far.

    my goal here is to get all the resulting persons names shown and made clickable in C2.

    any ideas where to look?

    thanks,

    Alan