android - Sprite Zoom in and zoom out animation in libgdx -



android - Sprite Zoom in and zoom out animation in libgdx -

i developing game in libgdx need zoom in , zoom out popup clearing every stage in game. please guide me how zoom effects in libgdx. note doing android device.

kindly assist.

you can zoom using property of same name of ortographiccamera.

camera.zoom = 1; //normal zoom (default) camera.zoom = 2; //zoomed in camera.zoom = 0.5f; //zoomed out

if mean "zooming" particular image, create bigger , smaller.

android libgdx

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -