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 Socterean · Jan 07, 2014 at 01:47 PM · c#javascriptgameprojectonline

What scripting language should I use for a multiplayer project?

Hi guys!

I want to make a game, not something fancy for the begining, so I have thinking to create an online map based batlle oriented game, where lets say 15-20 people enter a map in 2 teams and accomplish an objective like capture the base or something.

So the question is what scripting language should I use, to be familiar when I am switching from singleplayer project to the multiplayer one, and when I need to create the serverside engine.

NOTE: I want to use the same type of language both on clientside and serverside to be more easy to overcome compilation issues or bugs.

Thanks a lot!

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 tanoshimi · Jan 07, 2014 at 02:06 PM 2
Share

Is this your first project? Stop, and rethink your game right now. You will fail. I'm not being negative, I'm being realistic. Your project scope is way too over-ambitious given that you apparently have little knowledge of program$$anonymous$$g languages.

Start with a single-player, one-level game. Learn how Unity works. Learn to get player input, display stuff on the screen, switch between game states (like a start menu, pause, in-game, and high-score screen), play some sound effects. Finish the game. Then make another game. Repeat this several times.

If you're still feeling confident after that, revisit this question.

avatar image nastasache · Jan 07, 2014 at 02:29 PM 0
Share

C# I think is better. There's no difference between serverside engine and clientside engine - it's the same project with different logic rules for client vs server. If you are looking for already code done for a project very closed to your kind of game, see FPShootNet on Asset Store.

avatar image Ikke82 · Jan 07, 2014 at 03:38 PM 0
Share

I think what tanoshimi says is the opposite of what i think, even if you manage to make a failed game, from failure leads succes, You should use the script language you prefer to write in since there's a slight till no diffrence between them. http://forum.unity3d.com/threads/193558-C-vs-Javascript my preference goes to C# since it litterly does what you wrote and else it will give an error.

1 Reply

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

Answer by HappyMoo · Jan 07, 2014 at 04:08 PM

Use C#. That's what is native to Mono - the technology driving Unity behind the curtains.

UnityScript/Javascript gets painful after a while, because you can't fully unleash the more powerful features of the mono platform like Generics etc.

Other than that, Tanoshimi is dead right. Don't think about your own game before you understanding everything that is in:

http://unity3d.com/learn/tutorials/modules and http://unity3d.com/learn/tutorials/projects

Play with everything that is offered there. Understand and customize it, then you can think about making something of your own. And Multiplayer is not simply the same as two times Singleplayer. Don't try it before you understand yourself why it's hard.

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 HappyMoo · Jan 07, 2014 at 04:13 PM 1
Share

Also, I want to add: try to learn what you need to make the game yourself - there are enough resources around the Internet.

Don't copy and paste a script you barely understand into your next question and expect someone to make your game.

I'm not saying you'll be like that, but this happens too often and everyone is tired of it.

avatar image Socterean · Jan 07, 2014 at 04:33 PM 0
Share

Thanks for your answer. It was really helpfull. I admit that I am new to all this stuff but I try to learn and only after that I will be working on my game.

But I have asked this beacause it's a huge $$anonymous$$dblown if you try to learn something and focuse on it for some time and after working 1 or 2 months on the game you realize that for some reason you will have to start all over just because you can't do something, or you will have to modify a lot because of the scripting language.

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

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

Related Questions

C# Networking help? 1 Answer

Distribute terrain in zones 3 Answers

Converting js project to c# - replacing script references 1 Answer

Make a game in C# 0 Answers

Multiple Cars not working 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