tarek2's Recent Forum Activity

  • You have the condition is touching so you could do;

    Is touching button <<<<<<< Inverted to be the negative (Is not Touching)

    Ation: player stop

  • Okay, actually I take back what I said - it's just poorly written code and sometimes it IS incorrect on the html preview as well...

    Not sure the proper way to go about doing this though.

    Hi

    First, the Json file has to be loaded properly on the same event that you have right now

    -Ajax On Answers Completed

    Subevent load ArrayAnswers from Ajax.LastData

    Not sure why it never respect the spaces that you leave between lines I have to put these signs for line breaker

    ==============================================================================

    ===============================================================================

    Now that you will have the Array loaded:

    For your second question about Pick a random value from the Y but no repeats you could do:

    Have an empty 1D array set the size to = 0

    Then Repeat (ArrayAnswers.Height) Times >>>> Push back Lopindex

    Then you can pick a random Value by >>>>

    Add a local varriable example: "Temp_Index"

    Ser Var "Temp_Index" to int(random( ArrayAnswers.Height))

    -That will be your Y index number to pick the Question from ArrayAnswers

    -After that you picked the question you can delete the index from the 1Darray so you cannot pick it again

    Then repeat the same process if you have to pick more questions.

  • Hi DankTank

    Your events don't make sense:

    Example:

    Why do you call Ajax but after you not loading anything from Ajax?

    ============================================

    Also, what are you trying to do here? and why you calling it every tick

    Wouldn't be better to do all the changes once when you load the Array the first time?

  • You can download a copy of the C3 Project to your Pc then Right Mouse click and select "Unzip"

    It will extract all the folders and files of your Game, look for the "images" folder, there you will find all your images.

  • Tokinsom Hoh I see,

    it must be a different bug then, I knew it maybe not related to my bug as he is on the Nwjs version but I thought to report it just in case is related.

    The question now is how in the world dop2000 figure out that you need to change Password to fix that lol, because has no link to the Bug jeje that is what I call "Think outside" the box lamo, I would never guess it by myself to look on the Passwords )))

    Looks like a very weird bug if you can fix it by changing just the password :)

    I wish if Construct had that feature when you make errors in your events that caused Bugs, just go and change the Game Title name and all your Bugs fixed

  • tarek2 Yeah, this happened after I tried running the latest beta in Desktop app. Now both stable and beta versions are crashing...

    I see

    Definitely is something wrong with the new Beta:

    I never had any issues until I tested the latest beta as it happened many times that I close the preview or a project and the editor became Grey and blocked I had to restart many times.

    I reported it here on this thread but not sure it was the right place to report it.

    https://www.construct.net/en/forum/construct-3/general-discussion-7/preview-screen-black-155378#forumPost1023348

    Not sure though what you need to do for the deep clean up

    Likely I was on the Web Editor so I didn't have to do anything, now every time I enter I don't update when they ask me so at least I was lucky

  • dop2000

    If Is that using the last beta

    I had many times the Editor blocked but I'm using the Web editor

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi SnowyCroww

    Not sure what could be the problem in your end as I cannot see your project but I made a demo to move the spider in an "L" shape move.

    I don't know what set of rules you have in your Game for the Spider so I made my simple:

    -You Mode until you complete the "L" shape sequence then you reset the move again and again in a loop but with a pause between moves 0.5 or 2 when it resets

    or

    -If he hit any solid he waits 2 seconds and resets the "L" shape move by finding an alternative Path

    Every time he completes the "L" Move he finds a new Angle to start the new "L" Move

    Also, he chooses Angle at random to complete the "L" shape Move

    Example

    If he is moving horizontally at the "Right"

    He will move two times "Right" then it will pick random (Up or Down)

    And the same when he moves vertically

    Capx:

    https://www.dropbox.com/s/k2hg25kv1u0wr1y/spider%20move.c3p?dl=0

  • You can use:

    int(random(1, 10))

  • Np

    What I would recommend you is to go through the tutorials again (Arrays, How Events Work) etc.... or soon you gonna end up with the same problem as it looks like you trying to do the events at random until they work.

    Will be better if you pause this project and go through the tutorials again then come back to it later, it will help you a lot and you will save a lot of time later. And I don't think it will take you long for the progress you are making.

    But that is just a recommendation, you can do of course whatever you think is right for you.

    For what I understood from your events, it looks like you trying to do a checkmark for all the Levels that are completed.

    I think will be quicker if I make an example:

    See if this can help you:

    Look at Event 13

    And how the icons "Miniatures" Variable "Level_N" are linked to the Levels

    I didn't use Family but is the same thing, you just have to add the Instance variable to your family and do the same

    https://www.dropbox.com/s/r5zwdkar14lv0y4/pick%20family.capx?dl=0

  • This is gonna be Awesome to follow, is a Big challenge mate :)

    Good Luck, I hope you make it to the end goal

    I will be following your progress

    Thanks for sharing

  • Thanks for the Pics

    It will take longer without a demo )

    I see from the New Pictures that you haven't Update the things I told you to change:

    These mistakes have to be changed before you can carry on

    I will post them here again:

    ================================================

    ================================================

    One good thing is that you finally added the Pick "Miniature" but is outside the Loop, you have a to change the position as I show you on the Picture

    Also the Pick "Miniature.Position_Niveau" Variable are you sure it will match with the Array Values? if yes then is good

tarek2's avatar

tarek2

Early Adopter

Member since 26 Jan, 2016

Twitter
tarek2 has 12 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x5
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies