Boolean Visible Attribute

StrykerStryker Member Posts: 40
edited November -1 in Working with GS (Mac)
I'm trying to make the actor invisible via the boolean attribute... But It doesn't seem to be working...

When Attribute game.Speed=1
Change "self.Graphics.Visible" To: true
Otherwise: "Change self.Graphics.Visible" To: false

Right?

Comments

  • victorkin11victorkin11 Member Posts: 251
    some attribute is static, only can change in editing!
    Try to Use alpha!
  • MotherHooseMotherHoose Member Posts: 2,456
    Right Victor!

    self.Color.Alpha = 0
    or self.Color.Alpha = 1 (or fraction: 0.25, 0.5, 0.90, and etc. for various transparency)

    think not being able to control the Visible boolean was the most puzzling thing to me at first...now I am so used to doing it with Alpha...wouldn't change it!

    MH
Sign In or Register to comment.