LuckyRawat's Recent Forum Activity

  • I am working on Google Play Service / Admob / IAP

    When i success I will definitely make tutorial on this

    till than you can watch my other tutorials

  • Photo Slider Puzzle Capx — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/photo-slider-puzzle-capx-3780

    <p>I have uploaded Capx file of my tutorial Photo Slider Puzzle Extended</p><p>You can download it from here and support me So I can make more tutorials like this in future</p>

    Use this topic to leave comments, ask questions and talk about Photo Slider Puzzle Capx

  • I will make lots of more tutorials in future So Don't Forget to subscribe my Youtube channel youtube.com/luckyrawatlucky

  • Post the file.

    I tried to recreate in new file then its fine, NOT REPEATING

    but in my original file ITS REPEATING

    1 thing more to note

    i have used smart random on 2 different variable

    I think that's y i am getting this problem

    another variable is "FRAME"

    condition is

    when Index is > 7 set frame to BHTSmartRandom.next

    is this causing problem ?

    then what should i do ?

    **update**

    How can i use this plugin more than 2 times with different values

  • No, when index is 2,3,4,5,6, set variable to 'smart random', when index=7, set variable to 7. In otherwords index >=2 AND index <=6...

    I am getting repeated number using smart random

    what i did is >

    make 2 variable Index & Appear

    each click add 1 to index

    Smart random values

    Start = 2

    End = 6

    Repeat Threshold

    when Index = 1 >>>> set appear to 1

    when Index > 1 & index < 7 >>>> set appear to BHTSmartRandom.Next

    when Index = 7 >>>> set appear to 7

    I am getting repeated numbers between 2-6

  • No i am not complaining

    i am already following 99instance2go method

    but i just want to see your capx for review

  • Sorry, I consider the smart random to be the first array, since it uses an array internally, but I guess you can juggle the the logic to keep an index - on index=1, use value 1, on indices 2-6 use smart random, on index=7, use value 7. Seems clumsy compared to an array, but if you are determined to not use an array, that will work. I would put this in a function myself.

    you mean

    i make a variable = Index

    when index = 1 set "Appear" variable to 1

    when index = 2 set "Appear" variable to "Smart random"

    when index = 3 set "Appear" variable to 7

    if yes

    then how to stay on index value 2 while 2 is playing 5 times

  • I'd suggest using a second array, where you place the two fixed values yourself, and copy the random values in-between.

    second array ?

    means i have to use a array plugin for that

    I am using this in Global variables

    I have 2 global variable

    Frames & Appear

    when frame >7 it revert to 0 and

    when frame >7 then Appear do random (only values between 1-7)

  • http://www.blackhornettechnologies.com/Construct3Stuff/C3plugins/bht_smart_random_1000.zip

    Sorry, keep meaning to formalize my converted plugins.

    HI blackhornet

    Today i have used smart plugin very first time and it really great to use

    Thanks for this plugin

    Now it also for construct 3, Amazing !

    .

    I want to ask 1 thing

    I want to do random from 1-7

    but only want to random 2-6

    1 number should always come in 1st and 7 should be last

    How can i do this

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Does anyone has converted smart random plugin ??

  • Hello,

    https://www.scirra.com/tutorials/315/ge ... duplicates

    This was write the 1, June 2012.

    Have a good day.

    in your tutorial both links are dead

  • is their any other way without using arrays?

LuckyRawat's avatar

LuckyRawat

Member since 27 Aug, 2015

Twitter
LuckyRawat has 11 followers

Connect with LuckyRawat

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • x2
    Popular Game One of your games has over 1,000 players
  • x43
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

25/44
How to earn trophies