Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 ashisbiswas · Aug 22, 2011 at 10:31 AM · multiplayerserverclient

[HELP]Server client simple example with cube

Suppose I have a scene with a plane and cube (script added for move the cube)and I uploaded it to my webhost. If I type http://abc.com (where abc is my websitename) the scene will load in my unity webplayer.If myfriend access this address in same time he will see two cube 1 for me and 2nd for his. If i move my cube he will see my cube moving or vice versa.I know this is server client concept. I googled but i get SmartFox,Photon concept Which i did't understand.I dont want to host the game in my local machine.I want to upload it in my website.I asked you bcoz if i get example on a simple cube then i will integrate with my virtual world. I think many developers like me want to know a method in simple way. So any one please help me with this. Thanks in advanced.

Plz dont tell me that---

"Take one day and read the documentation. Start with the page named "Networked Multiplayer" in the Unity Manual. It has several links to more detailed pages. From there, you'll start with the Network class."

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by roamcel · Aug 22, 2011 at 12:28 PM

Simply put, that bold thing you're asking not to be told, is EXACTLY the only thing anybody can tell you. There's no magic shortcut. -ALL- people here who is still struggling with networking can tell you that.

In any manner, there's a very good and complete working example that you can use and dissect: http://unity3d.com/support/resources/example-projects/networking-example.html

The only real fundamental concepts you need to wrap your mind about is RPC and NetworkView. the first being the network method call, the second being the component you need to attach to all things networking in unity.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Unity networking tutorial? 6 Answers

attached prefabs before client joins 2 Answers

Why can't the client move a networked object ? 1 Answer

Multiplayer - sending a variable from server to client 1 Answer

Multiplayer server-client setup 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