Scaling Horizontally

Scaling Horizontally
0.0 0


Can any one please say me how to scale horizontally using cocos2d-html5


Your question is not clear. What do you need to scale? and please have a look here when you have a general questions


I have to scale horizontally a sprite image in a scene


with an animation or just display the sprite scaled?
the scaleBy and scaleTo take 3 paramaters duration, scale x and scale y. if you scale the x paramater and leave the y paramater at 1 you should get horizontal scaling.
If you just need to display the sprite scaled I guess you can change the scale value of the sprite.
This is really something you can understand from reading the manual, see link in previous replay.