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 Rukiryo · Dec 05, 2013 at 01:58 AM · networkinginstantiatemultiplayerscenesmmo

Beginner's Networking Questions

Hi, For my networking game I am making a game where me and my friends can connect to a server and play as our characters. I've got character customization done client sided and it should be easy to send over the server as it is just strings.

1) What I am confused about is monster spawning. The monsters need to be network instances that the players can damage. However the monsters need their physics to be calculated server sided don't they? So do I need my maps to all be on the server aswell?

2) My game has more than 1 scene. How would I network this? I guess each player can just have a string/int for which floor they are on, and I only network that content?

So that's what I'm unsure of. Thanks, Alex

Comment
Add comment · Show 3
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 Rukiryo · Dec 05, 2013 at 02:18 AM 0
Share

I think I know how I'll do #2 but no idea for #1.

avatar image Rukiryo · Dec 05, 2013 at 02:44 AM 0
Share

Yea got #2 prototype working. Not sure how to do #1. I could only send their X and Z coordinates and calculate Y physics via the server..? Idk

avatar image Matthew Scott · Dec 05, 2013 at 08:43 AM 0
Share

Physics can either be done server side so everyone gets the same results, or one client could be responsible for physics where and all input information (forces/whatever) is sent to this client to calculate and communicate back to every other client...but the latter is more suited to cloud servers, if you have your own dedicated server, I'd use that ins$$anonymous$$d.

No need to network the physics for everything though, nobodies going to care if two cans blowing in the wind on the floor don't match up. (Unless its a game about shooting can's on the floor with your friends LOL)

0 Replies

· Add your reply
  • Sort: 

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

17 People are following this question.

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

Related Questions

Unity networking tutorial? 6 Answers

Changing to online sceen in multiplayer 0 Answers

MMO server side programming 0 Answers

How can I spawn a GameObject on all players in my multiplayer game? 0 Answers

Players Not Showing 0 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