AlanSmithee's Recent Forum Activity

  • there is this weird outline around the yellow part that shouldn't be there. don't know where its coming from and it only shows on the exported version, not in the construct editor.

    the yellow and green parts are transparent png images.

    the slider changes the hue of the images and the outline is also affected by the hue change.

    <img src="http://i.imgur.com/gp54zcX.jpg" border="0" />

  • sure, but should it get slower and slower even if you don't make new requests?

  • i've been playing a little with it.

    the preview export's performance gets slower and slower within a very short time..

    is that because the loop keeps going on?

    <font color=orange>dropbox.com/s/n2uy0zr91yqw5fy/tmdbapitest.capx</font> since i cannot post links

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

    now i just have to really understand it;)

  • anyone?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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?

  • 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

AlanSmithee's avatar

AlanSmithee

Member since 22 Jan, 2013

None one is following AlanSmithee yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies