Android的游戏设计游戏、Android

2023-09-06 21:58:25 作者:适合在快手上用的五个字昵称,热门又好听。

我的工作多层次设计游戏,并想知道如果我要它的正确途径。我有水平菜单屏幕可供选择,每个级别(按钮)将专门启动一个新的活动,这一水平。那是一个很好的做法,或只是非常低效的?

I'm working on designing a game with multiple levels and was wondering if I was going about it the right way. I have a menu screen with levels to choose from, and each level(button) would start a new activity specifically for that level. Is that a good practice or just terribly inefficient?

推荐答案

它不仅是一个很好的做法,这也许是唯一的做法。你可能会考虑给予这些链接了良好的阅读和理解的基础知识。 :)

Not only is it a good practice, it is perhaps the only practice. You might consider giving these links a good read and understand the basics. :)

的http://developer.android.com/guide/practices/ui_guidelines/activity_task_design.html

的http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle