据我所知 OpenGL ES 会提供更好的性能(特别是在 Tegra 2 设备上)。 OpenGL ES 也更难学,但有很好的教程和支持库。
As far as I know OpenGL ES will give better performance (especially on Tegra 2 devices). OpenGL ES is also harder to learn, but there are good tutorials and support libraries.
如果您想要接近可观的帧速率,您将需要使用 OpenGL ES。 OpenGL ES 是硬件加速的(使用 GPU),而其他库大多使用 CPU。
You will want to use OpenGL ES if you want anything close to a respectable frame rate. OpenGL ES is hardware accelerated (uses the GPU), while other libraries mostly use the CPU.
发布评论
评论(4)
OpenGL ES 一路走来!去年 IO 在 Android 游戏开发上有一些不错的视频,以及使用 opengl 与 canvas 可以达到的帧速率。
http://www.youtube.com/watch?v=7-62tRHLcHk& ;feature=player_embedded
http://www.youtube.com/watch?v=U4Bk5rmIpic
另外还有一些很棒的 2d 框架可以简化这个过程,我认为最好的是 AndEngine
OpenGL ES all the way! There are some good videos from last years IO on android game dev and the frame rates you can achieve going opengl vs canvas.
http://www.youtube.com/watch?v=7-62tRHLcHk&feature=player_embedded
http://www.youtube.com/watch?v=U4Bk5rmIpic
Also there are a handful of great 2d frameworks to simplify the process, the best in my opinion being AndEngine
据我所知 OpenGL ES 会提供更好的性能(特别是在 Tegra 2 设备上)。 OpenGL ES 也更难学,但有很好的教程和支持库。
As far as I know OpenGL ES will give better performance (especially on Tegra 2 devices). OpenGL ES is also harder to learn, but there are good tutorials and support libraries.
我建议您不要直接使用 OpenGL,因为这看起来很困难。相反,您可以使用像 LIBGDX 这样的库,它提供更简单的功能。
检查这个教程:
http://m3ph1st0s.blogspot.ro/2012 /12/create-games-with-libgdx-library-in.html
I recommend you not to use OpenGL directly as it may seem difficult. Instead you can use a library like LIBGDX which provides easier functionality.
Check this tutorial:
http://m3ph1st0s.blogspot.ro/2012/12/create-games-with-libgdx-library-in.html
如果您想要接近可观的帧速率,您将需要使用 OpenGL ES。 OpenGL ES 是硬件加速的(使用 GPU),而其他库大多使用 CPU。
You will want to use OpenGL ES if you want anything close to a respectable frame rate. OpenGL ES is hardware accelerated (uses the GPU), while other libraries mostly use the CPU.