sadism's Recent Forum Activity

  • i found a new problem

    when " away time<10" , system don't adding any to total.

    exp : buildtime = 23 and exit the game, after 6 seconds open game again . buildtime = 17 but total is not changing .

    if yo know a way please say it to fix this.

  • the problem is that : we set MaxWhileGone towice .

    the first time we set amount value to it and the second time we set total amount + MaxWhileGone

    you can see it when you set the MaxWhileGone to text. you can see then when amount value = 0 , MaxWhleGone is not zero . we should set MaxWhileGone to zero when device or browser refreshed. i used on start of layout but not working . and i change place of "on get: time with amount" not working again.

  • i test it but here is a problem and i can't fix it . when we start and click to buy and then exit the game and back again we don't have problem .

    1: don't touch any thing and exit again for 10 seconds , when games open our total change , refresh game(or click play on C2) total return to true number.

    2: don't touch any thing and refresh game the amount come back again, build time too.

    i'm exporting to apk file and i'm testing on device (the problems had exist)

    i try to say the system when build time = 0 ,set total = itemvalue + amount ,but this is have problem too.

  • hi

    I want to set a random number and when system choose a number after 24 hours system choose another one .

    exp : cost for a flower : random( 18,25)

    system choose : 21

    after 24 hours system choose cost again.

  • thanks for your help

  • Dont store the amount. It is changing while offline. Buildtime can be negative !

    On item 'time' get

    set buildtime to max(0 , (ItemValue - awaytime))

    set amount to (buildtime) - (round(buildtime/10) *10)

    i set those you are said. "build time" is perfect but "amount" has problem.

    when build time is (last number < 5) :

    94 ,844 ,54, 1014 : "amount"= 4

    23 , 2543 , 3 , 83 : "amount"= 3

    when build time is (last number >= 5) :

    99 , 1059, 729 : "amount"= -1

    597, 67 , 337 , 4597 : "amount"= -3

    when build time is (last number = 0) :

    "amount"= 0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i set those you are said. "build time" is perfect but "amount" has problem.

    when build time is (last number < 5) :

    94 ,844 ,54, 1014 : "amount"= 4

    23 , 2543 , 3 , 83 : "amount"= 3

    when build time is (last number >= 5) :

    99 , 1059, 729 : "amount"= -1

    597, 67 , 337 , 4597 : "amount"= -3

    when build time is (last number = 0) :

    "amount"= 0

  • 10 20 0 40 50 60 70 it's for 10

    5 10 15 20 25 30 35 40 it's fo 5

    7 14 21 28 35 42 it's or 7

  • thanks bro.that's cool way

  • i want round of 10 for result bro. if click the boxes show the multiple number of 10.

  • thanks bro

  • https://

    drive.google.com/open?id=0BxuM6uiMrxpqaHlCMktFbUdyLWM

    see this and then exit the game and back again. you saw "amount" after 10 second subtract . and the "build time" (for exp is 28). the system don't calculation this 2 second of "build time".

    I should pin this two variable together . when "amount" is 4 "build time " is 40 . and when "build time" go to 30 subtract 1 of "amount, "build time=10" subtract another one. and when go to 0 subtract another one.

sadism's avatar

sadism

Member since 4 Jun, 2016

None one is following sadism yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies