Jump to content

Phaser sprite increase and decrease size in-game


Recommended Posts

Hello . Is there a way to increase the size of a 2d normal phaser sprite by some in-game interaction? 

. I generate the sprite to the game as a normal sprite with a certain size;

. When I do some kind of input the size increases, and that includes the whole sprite (physics body and sprite image);

(I don't know if tweens apply here because I am not sure if that changes the sprite physics body size). Bassicaly I want to make it grow in-game.

Any idea? Thank you very much


EDIT: found set.scale. Any other way?

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...