Pages: 1
Topic closed
i know this seems like a easy topic but i currently have a sword that changes the angle of it when you attack since the sword-bearer and the sword are two different sprite and can't be combined due two programming of everything else
Last edited by rojasscratches (2011-10-10 11:16:10)
Offline
That depends on how the sword needs to move. If it doesn't have to rotate, and only face in the same direction as the player, (left/right), then you can have a script that has it point in the same direction as the character and set it to only face left or right with this button in the sprite options box:
Otherwise, you should make two costumes, one left and one right, that it switches to depending on the direction of the character.
Hope that helps!
Offline
Could you upload it. If you want the sword to face in the same direction of the player
when green flag clicked
forever
point towards [direction of player]
SPECIAL PROTIP PRESS CTRL+U WHEN TYPING
Offline
KPX wrote:
Could you upload it. If you want the sword to face in the same direction of the player
when green flag clicked
forever
point towards [direction of player]
SPECIAL PROTIP PRESS CTRL+U WHEN TYPING
Please, don't necropost...
Offline
Topic closed
Pages: 1