JoshTzx's Forum Posts

  • HI

    Is it possible to be redirected back to PHP from Construct 2?

    I know I can call data from my database but I do not see a way to redirect it.

    Please let me know as soon as possible

    Thanks

  • Hey

    I am still new to construct2.

    I have a very simple php file on my localhost that does the following:

    <?php

    echo "success";

    ?>

    For construct2, I have a single layout with a text object called "Text"

    My event sheet is:

    -System->On start of layout-> AJAX.Request my php link

    -AJAX->On Complete->Text->Set text to ->AJAX.Lastdata

    I cant get an answer at all. It doesn't complete the event On Complete

    Please help.

    If you need a screenshot of the game and php do let me know

    Thanks you

  • I have the same problem, I added header('Access-Control-Allow-Origin: *'); to my PHP file but it doesn't work

    My event sheet looks like this similar to agouti1014 but without the error message.

    From what I can see, it doesn't do the event On complete.

    Please help

  • Is there a way to post a screenshot on Instagram without manually posting it up.

    Does it work the same way as posting to FB or twitter

    Thanks

  • Thank you very much

  • To get Display Result layer to show, you need to have a score of 12, I set the default score to 11 for testing purpose.

    The question is shown by clicking on the rocket and click "Most like me...." sprite to answer.

    I have also set my fighterplane to be at the position (1000,268) for testing purpose

  • Hi,

    Why when I press the home sprite at display result layer, it will "bug" out my next layout?

    It just freezes my layout, I could not find out where the problem is coming from.

    Can anyone take a look at my project file:

    1) dropbox.com/s/deq1brx5ht8xs

    2) ke/ECG_Game.capx?dl=0

    Pls add the 2nd part to the 1st link for the full link. I dunno why it cut short my link

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    Hi,

    Why when I press the home sprite at display result layer, it will "bug" out my next layout?

    It just freezes my layout, I could not find out where the problem is coming from.

    Can anyone take a look at my project file:

    1) dropbox.com/s/deq1brx5ht8xs

    2) ke/ECG_Game.capx?dl=0

    Pls add the 2nd part to the 1st link for the full link. I dunno why it cut short my link

  • I solve it Thank you so much dop2000 i was stuck for that problem for 1 day.

  • Thank you so much dop2000!!!!

    Sorry erm I have another problem, Why is that it won't read the 2nd letter (RIASECLetter2) ?

    My Rcount2 do show the 2nd letter is detected though

  • Thanks, I will try that.

    Yeah, I know it is soooooo overcomplicated. I am actually doing this as my project for school.

    The capx file I was given was even more complicated than this

  • When you play the game, click on the rocket to pop up the question. Once you answered the question it will not add to the CounterScore. Even though its supposed to add immediately after you click on the "More like me" button. When the 2nd question is answered the first question's score will then be added to the respective CounterScore instead of the 2nd question respective CounterScore.

    There are 6 CounterScore, 1 for each letter of RIASEC.

    RCounterScore, ICounterScore, ACounterScore, SCounterScore, ECounterScore, CCounterScore

    Most Like Me = 4

    More Like Me = 3

    Less Like Me = 2

    Least Like Me = 1

    Each question will be represented by those letters, showed in "Test" Text field. Some question will be represented by 2 letters.

  • Sorry Sorry here is the capx links

    Please Add them together again thank you

    1) dropbox.com/s/zd018j5334428

    2) 0o/ECG_Game.capx?dl=0

  • I separate the link into 2 parts

    1) dropbox.com/s/7mmbbo1mhz6fg3

    2) k/ECG%20Game.caproj?dl=0

    Add the second line behind the first line

  • Delete the rest from the dots onward and try adding this after fg3 since its auto adds the 3 dots.

    k/ECG%20Game.caproj?dl=0

    So Sorry it auto shorten my link