Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by matt991 · Apr 02, 2012 at 07:09 AM · iosmultiplayeronlineturn-based

Online Turn-Based Board game for iOS

Hello I am in the process of making a Turn-based Board game for iOS. I want the game to play like Words with Friends where one player takes a turn and the game-board is updated and then the next player is able to make a move.

My question is what would be the best way to go about this type of game play? Would I need to use a server for the player to connect with to update the board with their turns or would I be able to do it phone to phone?

Any help pointing me in the right direction would be appreciated. Thank you

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by kalvinlyle · Apr 04, 2012 at 06:13 PM

  1. I think Unity is the correct choice for you project

  2. We have built a turn based game that used Twitter posts to record turns so you have loads of options

  3. The game I'm working on now is a 2D platformer and before I reduced it's memory usage it was 32MB as an iOS app. In 3 days I got it down to 16MB without any visual quality lost.

  4. There is no doubt in my mind that you have set yourself a large task, but Unity is a great game engine and you should never let anyone tell you something isn't possible with it ;) There will be hardships and difficulties to overcome, but the strength in Unity is as much in it's supportive community as the tools themselves.

  5. Break your game into smaller hurdles and try to tackle them one at a time. You'll get there eventually.

While it's obvious that I mostly disagree with Danny, I think he's right that the social and networking components will be the most difficult. I would start with them:

  1. Get turns happening across multiple devices

  2. Figure out how to invite players and manage game session

  3. Build your game around those pillars

To start, go buy the [Game Center Turn Based Multiplayer plugin for Unity from Prime31][1]. His plugins are top notch, you won't be disappointed. This uses the apple turn based hooks in Game Center (it won't work for cross platform, but it's a great way to start as it means you won't have any server fees

Good luck! [1]: http://www.prime31.com/unity/

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dannyskim · Apr 04, 2012 at 06:29 PM 0
Share

These are our opinions, remember that matt991! As such, I never hinted that it wasn't possible with Unity3D, I just don't think Unity is the right choice for a 2D puzzle game.

avatar image matt991 · Apr 06, 2012 at 03:10 PM 0
Share

Thank you. That plugin look like exactly what I need. $$anonymous$$ain goal is to add social networking components to the game and across multiple platforms. I would rather keep with Unity ins$$anonymous$$d of learning something new and having to start over.

avatar image
3

Answer by dannyskim · Apr 03, 2012 at 06:07 PM

It really depends on how you plan this game out. If you want wide spread usage, and eventually want the game to span out to a large audience of people, doing ad-hoc gaming is out of the question. People EXPECT social networking capabilities, and if you simply include no option to do this from you application, then it will fail no matter how good the game is, especially in the mobile space.

So you really have to think objectively at this point, and by no means am I trying to be a downer, but I'm simply a realist:

  1. Do you really need a 3D engine for this type of game? Unity's built in over-head is 7mb for an empty scene with all package size optimizations in place.

  2. Are you experienced with handling multi-user, social-network type of environments? It's not a terribly complicated task when you think about it, but is quite the opposite when you engage in practicing it.

  3. Have you taken a look at Apple's Game Center turn by turn multiplayer solution? If this is attractive to you, are you planning to launch on Android and make it cross platform? If so, platform agnostic solutions are your best choice, which means making your own servers possibly.

  4. Even if you are familiar with social-networking, are you able to create a user-database server for user's that don't use social networking at all for gaming? Creating usernames that are dynamic and unique, tracking analytics for each of these, e-mailing and text messaging invites, etc.

There is a lot more that goes into a game of this type. If I were to answer you directly, then a server based solution is the way I would go if I wanted the ability the reach the most players as I possibly can. If you don't want all the feature sets that games like Words with Friends, Scamble, Draw Something, or similar games, then yes, ad-hoc gaming is possible. It just won't get you very far.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image matt991 · Apr 04, 2012 at 05:17 PM 0
Share

Thank you for your answer. Do you happen to have a suggestion on game engines that would be better for a 2D board game? Unity is the engine I know best, which is why I started using it but I figured it wasn't the best engine for this type of game.

avatar image dannyskim · Apr 04, 2012 at 05:59 PM 0
Share

The only other mobile development engine that I have a reasonable amount of experience with and can actually make a recommendation for is Cocos2D. With the release of Cocos2D-X, you can also use your existing code base to port to Android as well, making an already strong and robust engine even better. Granted, you'll have to learn how to program in Objective-C, but for the type of game you're wanting to make, I think moving to an engine that was designed with 2D in $$anonymous$$d would be your best bet.

Cocos also has a large community base like Unity, not nearly as big, but more than enough to get you off your feet. There is also a 3D variant, Cocos3D if you decide to make a changeover in the future as well.

If you're a really strong coder and are confident about your capabilities, then ultimately I would recommend making your own engine on top of $$anonymous$$armalade. This would be the best solution at of any available I$$anonymous$$O, but you'd have to be a very advanced programmer to tackle a project in $$anonymous$$armalade.

avatar image kalvinlyle · Apr 04, 2012 at 06:05 PM 0
Share

If you want to make a social game you want it on as many platforms as possible which makes Unity a great choice.

avatar image
0

Answer by vikingfabian-com · Aug 30, 2014 at 03:00 PM

Google play has some server network solution that works with both iOS and Android (have no experience by it myself). They got a tutorial online, search "Google Play Turn-based Multiplayer in iOS"

There are a couple of examples you can buy in Asset store for both Game Center and Android. Most of them seem a bit incomplete though.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Authoritative server basics Unity 5.2 0 Answers

Server software for multiplayer turn-based RPG like Pokemon 1 Answer

Mechanim messes up positions for model 0 Answers

Turn-based Multiplayer Board Game Storage 0 Answers

Multiplayer ID's? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges