How do I make my actor randomly appear?

volkarsuvolkarsu Member, PRO Posts: 5
edited November -1 in Working with GS (Mac)
I'm designing a type of whack a mole game, and I want my actor to appear randomly. I tried the Change Attribute self.Graphics.Visible to true and false, but this doesn't work.

Comments

  • svnsvn Member Posts: 445
    Apparently, you can't change visibility mid-game. You CAN, however, Change Attribute "self.color.Alpha" to 0. That makes the object completely transparent.
  • eXtraTurnGameseXtraTurnGames Member Posts: 70
    Perhaps make him (the mole) transparent and then change whether he's whackable in conjunction with his transparency? Would that be possible?
  • SamXOOO7SamXOOO7 Member Posts: 47
    Why don't you place a spawner somewhere and randomly make it spawn the moles into one of your locations. But add a timer to the mole to make it destroy after x time. Also isn't this kind of question supposed to be on the working with gamesalad forum?
  • svnsvn Member Posts: 445
    No. That's mainly for asking WHAT stuff is in GameSalad. He's asking a question on designing/programming a game.
Sign In or Register to comment.