character consisting of multiple actors?
ipwnr95
Member Posts: 14
you know in some games the character will have different moving parts i.e when falling its arms will fail, or when it hits the ground knees will bend. I'm wondering if there is a way to do this in gamesalad.
Thanks
Thanks
Comments
game.Attribute "fall" (boolean)
an event that triggers the fall i.e. changes the boolean to true.
In Actor:
[Rule] game.Attribute.fall = true
[Timer] after 0.01 sec [Change Image]
(add as many timers as you need)
---then [Rule] collides with ground actor/wall [Change Image]
you'll need at least 3 more new images of your Actor: (to effect a twist in mid-air) arms upR and arms upL; and onKnees.
MH
alternatively, you can build ONE and only ONE complex actor made of many different parts all constrained together with lots of math. I don't recommend this approach unless the game IS this actor. For example, a giant boss fight where the boss has many limbs that each get blown off one by one.