How make smooth object scaling, 1 (normal size) to 2 (double size)? I want smooth motion between 1 and 2 sizes (like animate). Somehow with DT, but how?
Develop games in your browser. Powerful, performant & highly capable.
i wish you read this before asking ^^ :
http://www.scirra.com/forum/how-do-ifrequently-asked-questions_topic45416.html
there is a topic about your problem...
anyway the answer you can use lerp(the size,the next size,dt*(speed))
or you can use global variable that screen always follow that global and when you click button it will make gruop active , the gruop has everytick add one to that global.