varons666's Recent Forum Activity

  • Hi, will it be possible to search ondevice for either a name/ package name or file?

  • Did you try this ?

    > Use Else.

    >

    > if level <= 1 ...

    > Else if level <= 2 ...

    > Else if ...

    >

    Put an 'else' in the blocks containing that 'Webstorage key ?" (except in the first one)

    hi, thanx a lot, only reading now thou i tried the exact same thing, seems to work but will test it more extensively.

  • Ok thanx but if you look at the screenshot, im actually checking the level firat then score, not only score but whether level is 1 or not, it finds highest score condition

  • Use Else.

    if level <= 1 ...

    Else if level <= 2 ...

    Else if ...

    i am using the if else but if i'm on the first level and i score 2000, level 4 gets unlocked as the score condition for level 4 is also met.

  • Right click, add new condition.

    If score is > 1000

    And

    If score is < 2000

    Do action

    Or

    Name layouts "level 1,2,3 ect"

    On end of layout | system go to layout "level" & floor (score/1000)

    hi, thanx but there are multiple condition that are met that's why the <1000 and >2000 wont work, creating level layout is like a last resort as i have 1 layout that im using for different levels, the conditions are what seperate the levels

  • ok, so i have gotten everything working so far except for 1 glitch....so after completing a level, other levels start to unlock them selves and not just the next level as it should be, after debugging a lot i have noticed that since i have a nested if statement, my score criteria is meeting other conditions

    i.e if score > 1000 goto level 2

    if score > 2000 goto level 3

    and i score 2000, so first condition is met as well as 2nd,

    any way i can stop an if statement?

    http:// imgur.com/a/JJHVT

    you will notice other conditions like currentlevel as i was trying to fix the issue but it still persists.

  • nvm admob working fine, tested on device

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hi, is it possible to display test ads from admob when previewing my game in construct 2?

  • thanx all, im sorted now, used nested if else statement

  • i have the basic scoring working fine but i want be be able to check the score dependant on the level the user is playing... any link i can read up on using function for my needs?

  • hi again, ok so got everything going pretty well, now at levels,

    so i what to do the following

    when timer runs out-> check if level 1-> if level 1 , score must be greater then 1000 then win,if less, then fail

    check if level 2-> if level 2 , score must be greater then 2000 then win,if less, then fail

    check if level 3-> if level 3 , score must be greater then 3000 then win,if less, then fail

  • thanx alot guys, got it working with global variable and webstorage...

varons666's avatar

varons666

Member since 11 Feb, 2017

None one is following varons666 yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies