GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Help ending a round

alexxxhpalexxxhp Posts: 161Member
edited November -1 in Tech Support
how do i make the game know when the last ball has missed a target
Example I have five balls are thrown on the last ball left I want the game to know when it has missed and the game to end. not before the ball stops but once it stops then the game checks if it missed the target then end the game.

Comments

  • beefy_clyrobeefy_clyro Posts: 5,390Member
    maybe a rule thats states if the ball overlaps or collides with the target then change a game attribute (game.HitTarget) to 1 otherwise have the attribute change to 0. Then create a rule on the ball that says if velocity is 0 (so the ball has stopped) and game.HitTarget = 0 (meaning it hasnt hit the target when it has stopped) then end game
This discussion has been closed.