Hello,
I would like to know how to let the user save their data to a server. I use C#. If I need PHP please tell me how I hook that up with my game.
Thanks,
Hello,
I would like to know how to let the user save their data to a server. I use C#. If I need PHP please tell me how I hook that up with my game.
Thanks,
I use heroku for a nice free host. They have awesome tutorials for their various server environments: Python, Php, Ruby, etc.
What you’re speaking of is a pretty major area of computer science, so be patient, work in small steps.
Ok, well my Dad does PHP, and server crap. He owns a Computer Fixing Company thing. So he will do that. But can I use C# to remove 500 from their game etc? Like, how does it work if you don’t mind explaining.
you would send the value to the PHP script and let the server side code do the rest.
Essentially, the PHP code will check to see if the player has enough money and return say a bool if the transaction was successful then you handle the rest in C# code.
You would not want to do this from the client side.
Ok! How do I add the php to unity? If you could help us, please PM me on here. More info: http://www.teamups.net/teamup/2914/Just-Live
The answer to this lies in the tutorials you can find for free on Heroku. Work through those first.