Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

SP/Mp activities for Android

4: Adsense

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   

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 :)

#2 frob   Moderators   

44028
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 book, Game Development with Unity, aimed at beginners who want to build fun games fast.

Also check out my personal website at bryanwagstaff.com, where I occasionally write about assorted stuff.





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.