Search code examples
androidandenginegame-enginegame-physics

How to strech (Add elasticity) an image at runtime by touch in Android


I am new to Android Game Development, I am using Andengine for the Game Development. I want to stretch an image by the touching the image.

Please note I want to just stretch that part of image which is being touched.


Solution

  • Sprite can be scaled in x and/or y dimension. Do it in your onAreaTouched callback.. Thats the simple solution of problem, Thanks all for help specially 正宗白布鞋