ai4ns's Recent Forum Activity

  • Thanks korbaach really helpful! Thanks soo much!! I will give this a shot tomorrow when I jump back on this!

  • Hi guys,

    I am playing around with a new concept for a game and was wondering how i could jump on an item which has physics enabled? Currently when I do it, the object (I want to jump on) just shifts to move out of the way.

    I have tried using the overlay collision detector and while this does make the object immovable, I would like it so that the character can jump on top & push the object Which is not possible with these settings

    Any help would be greatly helpful!

    Thanks,

    Andrew

  • Thanks guys! I will give this a shot

  • Hi Guys,

    I am currently creating a quiz game and I want the questions to be pulled out of the JSON document automatically. Using the Load-JSON plugin I was able to load the text up no problems but i was wondering if anyone knew how to tell the JSON which of the answers are correct?

    Below is my currently JSON text with the first set of numbers being the question number, then the question (Q1) and then the set of answers.

    {
    	"1": ["Q1", "1", "2", "3", "4"],
    	"2": ["Q2", "1", "2", "3", "4"],
    	"3": ["Q3", "1", "2", "3", "4"],
    	"4": ["Q4", "1", "2", "3", "4"]
    }
    [/code:19nxcgzt]
    
    From reading forums and guides, it seems that I am suppose to add ':true' after the correct answer but everytime I try that I just get an 'Nothing Found' Message.
    
    Your help will be greatly appreciated as I am only starting to learn about ARRAY & JSON
  • YAY!!!! Works perfectly!! Thank you sooooo much!

    Just checked the Debugging and it removes them as they are completed! This is so epic!

    Thanks for all your help! I am beyond greatful!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sweet! Thanks for the clarification. You sure know how to explain stuff haha Everything seems to be randomising now so thank you so much! Sorry to keep bugging you but this will be the last time! I've checked the debugging and the array system is working as its displaying the numbers next to the array.

    The only thing that doesn't seem to be working is that the cellindex is not deleting the array item to stop it from repeating (it seems to have reduced amount of repeating but unfortunately it is still happening ). In debugging should the array item be deleted?

    This is what I've got so far.. I will re-read everything you posted and double check if I missed something as well.. Will post if I figure out issue!

  • Thanks for the reply!! It all make sense but I am a little confused on what I should be entering in this section:

    [quote:3vf4cp29]Still on start of layout, we run a loop to create 1 array entry for each layout you want to go to (3 to 14), and add (push) them into the array. Rather than filling the array with layout numbers (since I'm not sure you can jump to a layout by number), lets use the layout names. For this example I'll assume that layouts 3 to 14 are named "p1" to "p12". ("p" for page).

    What I've Done:

    PUSH: Where: Front, Value: **Not sure what format**, Axis: X

    I am just confused in what format. I tried [ p1 , p2 , ... ] etc but it said syntax error. Am I suspose to do "p1, p2, p3" (with quotes?)

    Once again thanks for all your help!

  • Hi There,

    I have tried researching this but simply cannot find the answer. Currently I have set my layouts to randomly display by "Layout " & ceil(random(14) + 3) but I would like (if possible) that the same layout doesn't show up again.

    Is this something that is possible?

    Everyones help would be amazing!

    Andrew

ai4ns's avatar

ai4ns

Member since 27 Sep, 2014

None one is following ai4ns yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies