LuckyRawat's Forum Posts

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

  • is there any way to change Sprite Origin from Events?

  • I have a tutorial regarding this

    youtube.com/watch

  • I already made tutorial on this. How to create Rendom trees.

    Youtube.com/luckyrawatlucky

  • Is it possible to display game(published in website) scores in website page. And what if i want to display my all games score result in one page. Is it possible?

    And also want to store its data to website database.

  • Hi R0J0hound

    can you please explain what is actually happening in this event. Actually This is working but I'm not getting what actually happening.

    — sprite: set x to lerp(node(int(self.t)).x, node(int(self.t)+1).x, self.t-int(self.t))

    — sprite: set y to lerp(node(int(self.t)).y, node(int(self.t)+1).y, self.t-int(self.t))