How do I check score per level

0 favourites
  • 6 posts
From the Asset Store
Per Pixel Destruction like in "Worms" (perfect performance, no third party plugins)
  • 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

  • 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

    do you know how to do a basic score?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • you basically have the timer as a variable im guessing you know how to do a timer then you compare the variable and then if its > than 1000 as you said you set level 1 score to 1 and then if you have another event comparing level 1 score if its >0 set win sprite to visible

  • or you could use a function

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

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

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)