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 Kevin 4 · Dec 16, 2010 at 11:12 PM · phpsql

Do I have to learn SQL and/or PHP?

Hi I have been hearing lots of talk about SQL and PHP. And I am bout to start learning the basics of networking. But before I do, I want to know what all I have to learn so I dont waste my time learning something I wont be using. I have browsed through the unity networking referance guide and I dont see anything that talks about SQL or PHP. So do I need to know any one of these to make a networked multiplayer game with more than one client that also has chat and high score features?

Thanks..

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 Statement · Apr 13, 2012 at 04:47 PM 0
Share

Check out the PHP example on the wiki. It was designed to be a complement to the docs for WWWForm.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by uhahaha · Dec 17, 2010 at 01:38 AM

I think you need to have at least rudimentary knowledge on PHP mySQL to make games with chat and high score features, unless you use some canned packages with these features. Google for PHP-mySQL tutorials, you will get tons of free setp by step tutorials.

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 Tseng · Apr 14, 2012 at 01:47 AM

It depends on what you are doing.

If you only need simple stuff as login, sending highscores etc. then PHP + MySQL is the right choice and you have to learn it.

If you make a multiplayer game, then you won't use PHP + MySQL, but instead program a server. There are stuff like Photon etc. which bring the basic server structure and you can extend it with scripts. If it doesn't suit you, you have to make a server from scratch in C#, Java, C++, whatever suits you.

Because PHP + MySQL is only good if you send simple data and in text format. For a multiplayer game want the data to be binary and not text (less traffic, easier to convert back into data and less CPU intensive than parsing a text file).

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

2 People are following this question.

avatar image avatar image

Related Questions

Is it possible to create GameObjects dinamically from a server? 1 Answer

PHP Calls dont work on mobile 0 Answers

SQL Query SET Statement issue with nested Statements in PHP 2 Answers

My code to php -> sql in PC good, in Android not work. plese fast 1 Answer

Why is my PHP echo returning entire PHP file after WWW request? 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