Compare and post score online?
by Isaac Barbosa · in Torque Game Builder · 07/23/2007 (5:59 pm) · 5 replies
Hello folks,
This is beyond my knowledge and I will need orientation/help for sure:
What should I do to send the game score to a server and compare it against other scores? and in the event the score is bigger than posted on server, take its place on the list?
I believe I can manage the lists and comparations stuff because i can do it locally, but online.... those are big words for me.
Any directions on this would be greatly appreciated.
Thanks
This is beyond my knowledge and I will need orientation/help for sure:
What should I do to send the game score to a server and compare it against other scores? and in the event the score is bigger than posted on server, take its place on the list?
I believe I can manage the lists and comparations stuff because i can do it locally, but online.... those are big words for me.
Any directions on this would be greatly appreciated.
Thanks
#2
07/24/2007 (11:59 am)
That would be a great problem. I learn to program (and I'm no an expert) with flash, using AS.... and then I jump into Torque (using TGB), and if I had to use C++.... I thing I can't start to forget that scoring list for now :(
#4
I read the link and it seems a little bit confusing because it is pretty new for me. But for sure I will try it... and i will keep posting for help ;)
07/24/2007 (6:26 pm)
Thanks Matthew, I read the link and it seems a little bit confusing because it is pretty new for me. But for sure I will try it... and i will keep posting for help ;)
#5
www.garagegames.com/mg/forums/result.thread.php?qt=57558
You can create an online ranking on any php server with MySQL. Though you'll need to figure out yourself the php part.
08/05/2007 (8:08 pm)
Check out these topics :www.garagegames.com/mg/forums/result.thread.php?qt=57558
You can create an online ranking on any php server with MySQL. Though you'll need to figure out yourself the php part.
Associate James Ford
Sickhead Games
1. You need is a small program which runs on your "server" just waiting for score submittions and score list requests. I don't know enough about TGB networking to know if this "could" be written in TGB but it could be written in just C++ or C# probably.
2. You need to be able to submit scores and get the online scores list from within your game.
The logic of maintaining a sorted highscore list is not that difficult, but maybe someone else knows more about TGB networking, like establishing a connection with another computer, sending data, listening for a connection, recieving data?