Teonnyn's Recent Forum Activity

  • Thanks! I really want to use Construct 2 for this little project I'm working on. I was just having a hard time finding any information on the capability of loading JSON, which is a must. However, this seems like it'll be fairly easy. I'm used to working in raw Javascript, but C2 seems like the best tool I could use for quick prototyping and perhaps full build, particularly with the audio capabilities (after messing with systems like EaselJS and others)

  • Right, like:

    Status: 0

    Block: A

    Data {

    A,

    B,

    C,

    D,

    E },

    {

    A,

    B,

    C,

    D,

    E },

    {

    A,

    B,

    C,

    D,

    E }

    • Not the actual structure of the file, just as an example.
  • Well say that I load the file with AJAX and have the responses. It's possible for the file to have nested responses, representing individual squares in the game board. How easy would it be to read that file?

  • As the question asks, I have a web file that loads board game data. However, I'm not sure how to load this data with Construct 2. I can't see any methods from glancing at the manual, but I might be missing something.

  • Okay, so I'm a little bit confused on this. I'm trying to set up a function where I search for each instance from an object and add that object to an array.... but how do I add the object itself? Each time I try to do so, it seems like I can only add variables from that object to the array array.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • And now I feel stupid. Little more testing... putting the variable definition into the function being called by Task suddenly gets results.

    Okay, so that one was entirely my fault - I've been working with frameworks for far too long and not with raw PHP enough.

  • Hello! I am new to Construct 2 and far more used to languages and IDE's like Unity3D (Which helped boost my C# knowledge) and Flash AS3, however - Construct 2 harkens back to how I got my start programming with application builders like Multimedia Fusion. So far, I've set up a basic configuration with login/etc screen and all. However.. I can hit "Login" and get back strings, but text refuses to display any output variables with AJAX.LastData, which is rather strange.

    For instance, the string output like this:

    echo "{'User': '" . $UserName . "', 'Email':'John@Doe.com'}";

    This how it gets back into Construct 2: {'User': '', 'Email':'John@Doe.com'}.

    So... AJAX.LastData is working, but it only sees solid strings, not variables which I know are being -sent-. One is a "task" var that will change what happens, standard. What am I doing wrong?

Teonnyn's avatar

Teonnyn

Member since 14 Jun, 2014

None one is following Teonnyn yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies