Score changes attributes
B1984
Member, PRO Posts: 91
Hi fellas,
Thanks for all the help, community! I'm really loving this engine and the supportive people involved. Now if you could just help me with one more problem: score that changes attributes! I'd like for the score to change the size of my character which seems easy enough but it's baffling me. Anyone have any clever ideas?
Thanks for all the help, community! I'm really loving this engine and the supportive people involved. Now if you could just help me with one more problem: score that changes attributes! I'd like for the score to change the size of my character which seems easy enough but it's baffling me. Anyone have any clever ideas?
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
EDIT: Also, I would like the score to change the difficulty. I know how to change the difficulty if I can figure out how to make the score a rule.
Hi @B1984
I'm sure @tatiang won't mind me answering for you: presumably your new points earned any one time are put into an integer attribute already, let's call that LivePoints.
So in your character that changes size, add into its Rules:
Change Attribute self.Size.Width to self.Size.Width+LivePoints
Change Attribute self.Size.Height to self.Size.Height+LivePoints
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps