espace Posted January 17, 2017 Share Posted January 17, 2017 hi, i want to strech my image square like that. Is is possible with Phaser ? it's to imitate movement like the Disney principle.... thanks for yours lights. Link to comment Share on other sites More sharing options...
phreaknation Posted January 17, 2017 Share Posted January 17, 2017 I would suggest making a polygon shape versus a plain square. That or use an animated sprite. Link to comment Share on other sites More sharing options...
espace Posted January 17, 2017 Author Share Posted January 17, 2017 Hi in fact I need to use an image... Link to comment Share on other sites More sharing options...
espace Posted January 19, 2017 Author Share Posted January 19, 2017 Nobody ? Link to comment Share on other sites More sharing options...
phreaknation Posted January 19, 2017 Share Posted January 19, 2017 On 1/17/2017 at 1:05 PM, espace3d said: Hi in fact I need to use an image... Whats the new issue? You seemed to answer your own question. Unless you are saying you do not know how to do it with an image? Link to comment Share on other sites More sharing options...
espace Posted January 19, 2017 Author Share Posted January 19, 2017 Yes I don't know how to do with an image. I don't want to use spritesheet because I need to deform my square with a random behaviour. The deformation is random. Link to comment Share on other sites More sharing options...
phreaknation Posted January 20, 2017 Share Posted January 20, 2017 with an image you would need to manually manipulate the bitmap data in such a fashion. Other than that, I do not think deformations with phaser on sprites or bitmaps Link to comment Share on other sites More sharing options...
Recommended Posts