luckyrawatlucky's Forum Posts

  • I don't know what is proper way to store data in x0y0 and x0y1 using push.

  • still i am unable to find any solution

    I am able to store data but need some help

    my array size is x = 0,1,2,3,4 and y is = 0,1

    Storing "correct" in y0 and incorrect in y1

    i am able to store data in this and now i want to store first value of "correct" in x0y0 and first value of "incorrect" in x0y1 then i want to move this x0y0 to x1y0 & x0y1 to x1y1 and move the previous data to next cell. I mean always new data will be store in x0y0 & x0y1 and the older data will move accordingly.

    I hope now you understand.

  • Sorry for my bad English (all 5 slots means arrays table 0,1,2,3,4)

    okay i am making kids games where a 3 character appears with three different color and a there is also a Sprite which showing color which kids will select.

    those character will come 5 time in screen means they have to select Correct color character 5 times.

    So i want to record how many time they choose correct and how many time they choose incorrect.

  • I didn't understand

    How to put value in x and y

    okay let me tell you what i am trying to store data

    on Correct set at xy (x selecting index number 0, y selecting index 0 and then value

    on Incorrect set at xy (x selecting index number 0, y selecting index 1 and then value

    is this right?

    now what i have to do when all 5 slots are full of values?

  • and thanks for your kind help

  • i am not recording correct or incorrect

    I am recording how many times correct clicked and how many times incorrect clicked

    if i clicked correct total 8 times then save that value to array 8 and same with incorrect

    saving both total correct and total incorrect

  • I don't even know how to put both values in array.

  • I have 2 variables Correct and Incorrect which contain data how many times correct clicked and incorrect clicked as well.

    Now i want to record last 5 play's result and next play have to add and remove previous accordingly.

    I hope it make sense.

  • okay let me explain (this is a game for Kids)

    i have given dino two LiteTween behaviors (move_in & move_out)

    i also have a sprite with name "Preview" with same color which we picked from chooser

    on starting all three dino's are out of layout

    when we choose color from chooser all three dino comes in (from left) having 3 different color

    we have to choose same color as "Preview"

    If we select the wrong color then that will just move_out (move to right) Out of layout. and then we have to select out of two remaining dino.

    If we select the correct one other two dino move_out Out of layout.

    and picked dino will go out after 1 second. and all three dino's will reached out of layout then I want them to come in again from left

    in Short

    in the game there are three dino with three color and a preview color for kids and same colored dino they have to pick.

    They will choose a color from chooser and they have to pick right color 5 times which mean all dino will appear 5 times.

  • again here

    i have given LiteTween (move_in and move_out) behavior to Dino

    they all move_in together but they move_out separately.

    I want to detect when all thee dino move_out

    I means Do Not Detect when only one or two Dino are move_out. I want to detect when all three dino are move_out

    How to know this

    I tried to use pick all but it didn't worked.

  • your help worked but i didn't understand the logic from 5th Line

    First we picked all chooser

    then we picked all chooser and extract previously picked one

    (One Question here why we use both here pick all chooser will pick all Chooser instances and pick by evaluate picked all except that one which we already picked, As this one pick by evaluate is doing what we want then why we also used pick all?)

    after that we used Sub Event For each (Ordered), why we use this I didn't understand. and for Random Expression I always thought Random always needs a Range and i always give 2 values in random expression.

    please can you explain to help me understand.

  • dop2000

    one more thing i want to do here , I though i could do it myself but I'm not getting any way.

    we click Chooser and a Random Dino gets a Number and other two Dino get another different random number.

    Now i want to repeat that cycle 5 times but this time we never click on chooser and we will use the same number (last picked number from chooser) and apply to a random dino again for remaining 2 dinos I want new random numbers(not repeated number).

    is this Complicated ? for me its very complicated.

  • Thanks it worked

    you helped me again

    each time when i need help you were there always

    I'll never forget it.

    Thanks again

  • I didn't transfer code to my project

    I just did check your code in text and in debug. But result was same.

    Only first click generates random.

    May be I didn't explained it well.

    I want 3 Random numbers on Single Click. I mean when click on Chooser all three Dino's Color will be change But 1 Dino's Color will be same no of Choose IID and other Dino's Color will be random and all three Dino's Color should be different.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes I also tried second version

    On Very first click all 3 Dino gets random number but after that only Single Random Dino gets random and other 2 remain same as previous. and sometime they become same number, sometime 2 number same and sometime all three same because only one Dino changing on click