Change images within Rules?
DrGlickert
Member Posts: 1,135
I want to set it up like this;
Rule: When game.attribute = 0
Change Image to picture0
OTHERWISE
Rule: When game.attribute = 1
Change Image to picture1
OTHERWISE
Rule: When game.attribute = 2
Change Image to picture2
ETC...
This doesn't work.
I have to make the change image behaviors within individual rules...
Any idea why?
Rule: When game.attribute = 0
Change Image to picture0
OTHERWISE
Rule: When game.attribute = 1
Change Image to picture1
OTHERWISE
Rule: When game.attribute = 2
Change Image to picture2
ETC...
This doesn't work.
I have to make the change image behaviors within individual rules...
Any idea why?
Comments
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Also, I was under the impression that every individual rule eats processor however, rules within rules (like in OTHERWISE) are not "AS BAD" on the processor...(I use the term "AS BAD" loosely).
When touch is pressed
Change Attribute game.Att To ((game.Att + 1)%3)
when game.Att = 0
Change image
etc; in this example, up to 2
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps