nikmlnkr's Forum Posts

  • 10 posts
  • I am trying to use Facebook Instant Games Share functionality. But while doing so it only works using some images. It does not work for most images. Pretty confused about this.

  • "even tried setting time scale to 1 on every tick but even then it does not solve this issue."

    Try setting object time scale not global or restore object time scale. Maybe fixes!

    Hey thanks for your response but it has nothing to do with the time scale per se. This issue happens only on Android device as something breaks when game refocuses after displaying an ad or any other window. Even if you press home button and come back to the game from task manager this issue still persists. Turns out that this is a bug from Facebook's side. Please refer to the link in Ashley's answer. It hasn't been resolved yet.

    Regardless, thanks for your two cents on the problem

  • Still no update from Facebook's side regarding this issue :(

  • Switch a and b in the formula. I made a mistake writing it down.

    Thanks! It worked! :)

  • Global number a=0

    Global number b=0

    Function “n”

    — set a to min(function.param(0), function.param(1))

    — set b to max(function.param(0), function.param(1))

    — set return value to a+10-(5-b)*(6-b)/2

    For the same range of numbers you have at least.

    This one does not seem to be giving the proper values for the given set either. Min and max logic seems good but the return value it gives seems to have a different formula

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am aiming to get two variable combinations to give me specific output in a linear way. I am taking 5x5 combination of values without repitition and need the output to be incremental by 1 on each step as follows:

    (1,1) = 1

    (1,2) = 2

    (1,3) = 3

    (1,4) = 4

    (1,5) = 5

    (2,2) = 6

    (2,3) = 7

    (2,4) = 8

    (2,5) = 9

    (3,3) = 10

    (3,4) = 11

    (3,5) = 12

    (4,4) = 13

    (4,5) = 14

    (5,5) = 15

    Can someone help me out with this?

  • I am trying to achieve something like this:

    int[12] calculations;

    for(int i=0;i<13;i++)

    {

    for(int j=0;j<13;j++)

    {

    if(i<=j)

    {

    counter += 1;

    calculations[counter-1] = counter;

    print("counter: "+counter);

    }

    }

    }

  • You do not have permission to view this post

  • It sounds like this bug in the Instant Games platform.

    Thanks Ashley, looking forward to see this get resolved. It's quite a serious issue since it's hampering the entire gameplay experience because of it

  • You have already posted this issue/question.

    Yes, but the context wasn't clear to me so I reposted it. Deleting the previous question

  • Initially I thought this had to do something specifically with the ad showing logic but then realised that whenever an ad shows up and I close it as well as if I try to challenge player by sharing an invite then when I come back to the game the play speed of the game becomes faster than it was before. This keeps happening everytime I share the game with friends or open an ad window. After a few tries the game becomes so fast that it is totally unplayable.

    I am using Construct 3 stable build and even tested it with r134 but still getting same issue. I even tried setting time scale to 1 on every tick but even then it does not solve this issue.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • 10 posts