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
0
Question by Polatrite · Dec 17, 2009 at 07:51 PM · guinetworkinginputserverguilayout

Starting a small-scope client/server game with Unity

Hello, I am new to Unity, but I have experience with game development. I am curious about some things specific to the Unity platform, and how I might overcome some challenges - I'm primarily looking for links to resources, tutorials, and other things. I found numerous resources via the wiki and forums, but some things I really have questions about aren't covered.

To give the short-and-sweet overview, I'm looking to do a project involving one or more central servers with some number of clients connecting up to them. The server will take care of game logic and traffic control, the clients will take care of glitz, UI, etc. (so basically every client/server game ever)

I'm not really worried about the gameplay itself (game logic is easy), but I'm more worried about how to do a few things:

  • How is a user interface handled in Unity? So far I've seen a lot about laying out a scene, but almost nothing about laying out a user interface, HUD, menu screens, options, and everything else - the glue that holds the world together

  • How is client/server networking handled in Unity? The server will be actively communicating with lots of clients, directing their user interfaces as well as the scenes around those clients and everything else going on. Are there some good tutorials specifically for the client/server model? (I have no plans to do peer-to-peer or single-player)

  • How is user input handled? This doesn't really seem like it would be that challenging after I look at more reference material, however are there any nice and concise tutorials on how user input works?

  • Related to the networking, are there any good tutorials on client/server "load balancing" - or ensuring that 50+ players wouldn't cripple your server with horribly non-performant networking/game code? I know I can find several articles outside of Unity on how to properly do client/server networking (predictive motion, packet combining, etc.) but are there major Unity-specific techniques that I should be aware of?

I really appreciate any and all answers - even if you can only answer one question.

Comment
Add comment · Show 1
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 jashan · Dec 18, 2009 at 12:21 PM 1
Share

You may consider creating a couple of questions ins$$anonymous$$d of one single monolithic one ... from what I can tell, this really is two GUI-related questions (which one would not expect from the title of the question), and two network related questions - and all four on very different technical levels. The reason I'm making that comment: a) you'll be more likely to get expert answers b) your questions and the answers will be more useful to the community for when someone looks for a solution to a specific problem c) having separate questions makes it much easier to vote up both question and answers.

2 Replies

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

Answer by Ashkan_gc · Dec 17, 2009 at 08:26 PM

in this page you can see the "creating game play" section that has sections for interface elements and unity GUI, networking and input. unity uses raknet for creating network based games but you can use any other system like smartfoxserver or even crate your own client server system because unity supports .NET sockets. there are many tutorials about how to use System.net.socket namespace. there are good examples in unity example projects and one of the projects is a networking project with 4 different networking projects here. also take a look at unitytutorials.com

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
avatar image
0

Answer by lathomas64 · Dec 18, 2009 at 06:00 AM

As far as the Interface stuff the Lerpz escapes tutorial has a section on creating UI elements. The tutorial's page is here: http://unity3d.com/support/resources/tutorials/3d-platform-game

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

No one has followed this question yet.

Related Questions

Unity networking tutorial? 6 Answers

Why can't I get my tooltip to show only when there is a tooltip set? 2 Answers

What's the best approach for creating a secure authorative server? 0 Answers

networkview + GUI 2 Answers

Paper, Rock, Scissor 3 Answers


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