Resizing multiple instances of different actors simultaneously

NYPNYP Member Posts: 12
I'd like to be able to switch the sizes of a group of different actors from 100% size and toggle to 50% depending on if a key is pressed or some other trigger. Can anyone suggest some possible ideas of directions i could look into for this? Thanks.

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Give the prototype actor an attribute (e.g. boolean) and a rule that checks to see if that value has changed. Ten have a rule that changes that attribute when a key is pressed. If you need the trigger to be in a different actor then you'll need to use a game attribute instead.

    Or are you wanting only certain instances of the same prototype actor to change size? If so, you'll need to explain more about how your game works.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.