Rime productions offers a taste of it's new pieces of flash art.
Very nice. Did you use scaleX = -1 when moving the character to the left? I am trying to accomplish the same thing.
Sry, i didn't see your comment.Actually I'm using this one:character.scaleX=-character.scaleX;and the code should look smth like this:if ( leftispressed ) {if ( leftflip ) { character.scaleX=-character.scaleX;leftflip=false;}}leftflip is a boolean that when it's true the character is facing to the left
(as3)
Very nice. Did you use
ReplyDeletescaleX = -1
when moving the character to the left? I am trying to accomplish the same thing.
Sry, i didn't see your comment.
ReplyDeleteActually I'm using this one:
character.scaleX=-character.scaleX;
and the code should look smth like this:
if ( leftispressed ) {
if ( leftflip ) {
character.scaleX=-character.scaleX;
leftflip=false;
}
}
leftflip is a boolean that when it's true the character is facing to the left
(as3)
ReplyDelete