luckyrawatlucky's Forum Posts

  • 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.

  • 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

  • Thanks for this

    It works but not perfectly

    on click chooser only Single Random Dino variable Changing others are not changing.

    and Sometime Repeated number showing

    dropbox.com/s/7pw9aigr2gpbiht/VeryComplicatedRandom.capx

  • I have a Sprite "Dino" and copied 3 times in layout

    "Dino" has instance variable "Color"

    I have another Sprite "Choose" and copied 10 times.

    Now I want to set all three Dino's "Color" variable a Random number between 1 to 10. But all three should be different numbers.

    1) I want to pick one random Dino and set "Color" variable Manually (By click "Choose" and set Choose's Index to "Color")

    2) Remaining 2 Dino's "Color" variable should be Random between 1-10 (Excluding previously picked number)

    Tagged:

  • Needs some antialiasing.

    Im thinking you could maybe do the same thing with tiled background and a blend mode on a layer.

    Yes they are not smooth. needs antialiasing.

    May be i have to use my previously found way.

    First create few dots to cover the big sprite and then move them to grid wise. and by that way i can use many shapes instead of circles like triangles, squares etc as many shapes I can use for LED type

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have 2 Sprites (Dot or Circle) both 50x50 pixel

    Sprite1 have drag and drop behavior

    when Sprite1 is dragging I Spawn Sprite2 everytick.

    When we drag slowly then tail looks good but when we drag fast then it looks into pieces I mean we can see a Single piece of sprite of the tail which i want to hide

    How can i do this? to make it more smooth.

    Example

    dropbox.com/s/3i8nv4utpcn1571/Tale%20Example.c3p

  • Bizarre question, just set it in the image editor.

    I want to change it from the editor.