I am wondering how app developers create games with 3D animations and graphics. Does anyone know how those games are made, and can it be done with android studio?
Yes, it can be done with Android Studio. But, you would never hand-code it in real life. To make even a simple 3D game, you would want to use a game engine like Unity3D or jPCT-AE. Any decent 3D engine will have tools for porting to Android.
The Open Graphics Library ( OpenGL ) is the industry standard API for creating 3D (and 2D) computer graphics and runs on most platforms. It can be used to create complex 3D scenes from graphic primitives such as points, lines, and polygons.
Android graphics provides low level graphics tools such as canvases, color, filters, points and rectangles which handle drawing to the screen directly.
On Android 4.4 (API level 19) and higher, you can use the transition framework to create animations when you swap the layout within the current activity or fragment. All you need to do is specify the starting and ending layout, and what type of animation you want to use.
Yes, it can be done with Android Studio.
If you wanted to hand-code it, you would just create a GLSurfaceView, and draw objects into it. Here's a basic tutorial: Displaying Graphics with OpenGL ES
But, you would never hand-code it in real life. To make even a simple 3D game, you would want to use a game engine like Unity3D or jPCT-AE.
Any decent 3D engine will have tools for porting to Android. And many of them have communities that can offer support and troubleshooting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With