Jump to content

  • Log In with Google      Sign In   
  • Create Account


SP/Mp activities for Android


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
1 reply to this topic

#1 Da49   Members   -  Reputation: 106

Like
0Likes
Like

Posted 13 June 2012 - 03:13 PM

Hi guys.

I've been developing a turn-based game, which has both single player and (local) multiplayer options. The gameplay is largely similar between the two apart from the fact that CPU controls one of the turns in single player.
Is it wise to make a separate Android activity for both options or make one activity which handles both via booleans etc?

Thanks in advance :)

Sponsor:

#2 frob   Moderators   -  Reputation: 16106

Like
0Likes
Like

Posted 13 June 2012 - 03:45 PM

I would keep it as one.

Creating a second will add significant complexity and therefore add bugs, but you are only getting a tiny benefit of trying to simplify multiplayer.

It would be easier and less error-prone to design your game core such that you can create multiple object instances, one instance per player.

Edited by frob, 13 June 2012 - 03:45 PM.
clarity

Check out my personal indie blog at bryanwagstaff.com.




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