How to replace image in actor during the game?

Hi,

I am new to game salad. I am wondering how to change image in an actor during the game. Is it possible? Thanks.

K.C.

Comments

  • GLGAMESGLGAMES SingaporeMember Posts: 988
    change attribute self.image
  • ironDanironDan Member Posts: 148
    Say you want to change your actor to 3 different images depending on 3 different situations. You create a self.index attribute and then group 3 rules that say if self.index = 1 change image to whatever that image is, then the same for #2 and 3. Then create your rule to set off the change, example: when actor overlaps or collides with tree change self.attribute to 1
Sign In or Register to comment.