Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 tom_mai78101   Members   -  Reputation: 577

Like
0Likes
Like

Posted 07 October 2012 - 01:48 AM

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.

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS