• Advertisement
Sign in to follow this  

Should you create many activities of different functions in a game, or 1 activity fits all?

This topic is 1933 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What do you call those components used in games? Anyway...

I have activities dedicated to those "components". For example, I have:

  • MenuActivity: An activity that handles the main menu of the game. All buttons in the layout of this activity uses Intent to start other activities.
  • ScoreActivity: An activity that handles scoring and scoreboard of the game.
  • PlayActivity: An activity that is the core game, where players play in.
  • etc.

    I am wondering if this is the right game development strategy for Android, to call on dedicated Activities for a player's needs. Just any answer would be find.

    If this is one of many ways of Android development, how does one utilize the development plan, "One activity fits all"? I just haven't touch upon that development approach yet.

    Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement