NEED HELP! Plz

ElMatador53ElMatador53 Member Posts: 5
edited November -1 in Working with GS (Mac)
Ok so i have a problem my game does not want to go to the game over screen and my logic seems to be right. I have a gameLost boolean and i have it so that when lives < 0 then it should turn to true which form there it should go to game over screen. Does anyone have any suggestions that may help will appreciate it thanx.

Comments

  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    Try placing the gameLost attribute in a display text behavior in an on screen actor and watch what is shows when the condition should have been met...
  • ElMatador53ElMatador53 Member Posts: 5
    hmm didnt seem to do anything?
  • Rob2Rob2 Member Posts: 2,402
    lives=0
  • ElMatador53ElMatador53 Member Posts: 5
    ok well for lives here is what i did i created a rule so that when game.lives = 0 or game.lives <0 to make gameLost = true and once gameLost became true in the game controller i put it to change scene to game over. and the other thing i tried was to change the way i spawn actor, i created a rule that says if gameLost is false to spawn actors and it still didnt work. IDK y
  • ElMatador53ElMatador53 Member Posts: 5
    BarkBarkCo it just keep the boolean at false? even after lives are = to 0 or < 0 should i try it as an integer?
Sign In or Register to comment.