FilipWozniak's Recent Forum Activity

  • Hi guys!

    I'm creating a simple Parking Game. I have 3 main layouts. Here is a small problem..

    I created the mechanics of choosing a car (frames idea). Selected car appears on current layout when I code like this: "Go to Level_1" and then select "Create Object". What I want from C2?

    All I want is the selected frame on a different layout! (Level 1)

    How can I change that? Please, help!

    This is probably a simple, but I can't see anything .

    Thank you in advance!

    To better illustrate the problem I put the image.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Okay This is helpful tip, but I still don't know what I should do, if I want to Construct 2 return to me a "vagrant8" value.

    Could you correct my .capx file?

    Please!

  • [quote:1wsktpui]easy way would be to set one textobject to ajax.lastdata on ajax completed..

    I've done that before.. like.. you know.. 100 times, and AJAX receives the correct values.

    The problem must be somewhere when C2 reading .JSON data using the plugin Here is my .capx file.. .

    https /view?usp=sharing

    Could you see what I'm doing wrong?

  • [quote:1p1fp8va]You are trying to load ajax.lastdata before the Ajax is completed..

    I'm sorry. I didn't notice a stupid mistake. You're right!

    Now .json file is loaded when AJAX does his job.

    But "Set Text JSON.Value (0, "19141338")" is not working. JavaScript - OK, but the program still shows "undefined" property.. So close!

  • It's look like this.

    Chrome sends an error message. It's probably JavaScript thing (browser suggesting that, so this may be the plugin or behavior) and the program returns "undefined" property..

    I have no idea!

  • jasminm Thanks for help, but I want to do it dynamically , directly in the Construct 2.

    ramones Yes, I installed the plugin, but it seems to me that it doesn't work..

    What if I want to write the name of player not using his ID, but only by name tag?

    I plan to make an application that after entering a player's name will automatically download the Riot API information - all statistics and rest of the stuff, you know.

    Could someone show me how to use this plugin (on .capx)? One small example. The rest I will do likewise.

    Thank you very much!

  • {"19141338":"vagrant8"}

    I do not know how to do this, really!

    I read a little bit about using a dictionary and arrays, but I stuck at this point..

    Could you show me on example (.capx) how to draw values that interest me? Help me, please!

    Only one example (not all values). I need it.

    Thanks a lot one more time!

  • Hello guys!

    I have a question. It's very important. I'm just starting my adventure with Construct 2, but already I came across a pretty big problem that I can not solve.

    As you know, the League of Legends has it's own API.

    After generating a URL, it looks like this:

    {"micheal23":{"id":40904801,"name":"Micheal23","profileIconId":26,"summonerLevel":1,"revisionDate":1363260127000}}

    That is what server returns (.JSON file? - I think so.. Tell me if I'm wrong)

    I want to choose specific data (but dynamically) - ID, USERNAME, PLAYER'S LEVEL and place it in Construct 2. The only question is how to do it?

    I tried to use Ajax, but he asks me the value of parentheses and apostrophes, and I want to make it look less like this:

    ID: 40904801

    Name: Michael23

    Level: 1

    I just want to put a clear informations to textbox in C2. Please help. I found a few plugins ("How to read the .json file"), but I want to do it dynamically from League of Legends server (to use what data request give me back).

    Thanks!

FilipWozniak's avatar

FilipWozniak

Member since 3 Nov, 2015

None one is following FilipWozniak yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies