Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / CT Global Highscores - Save your scores online!

Author
Message
Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 13th Apr 2007 23:52 Edited at: 13th Apr 2007 23:56
A little something I've been working on recently...

CT Global Highscores or CTghs for short, is a small DLL (<20kb), which you can use to save highscores for your games to an online database. All scores are hosted on the Coders Turf server for free and there are no limits.

This means that anyone who plays your game anywhere in the world will be able to compete on the same global leaderboard for your game.


Here is some example code, this is written in PureBasic but it's pretty much the same in any BASIC language.




CTGHS_Init() Initialise the connection to the Coders Turf server.
CTGHS_SaveScore() Saves a highscore to the database.
CTGHS_GetScores() Reads the saved highscores from the server.

I'll finish off the code over the weekend and upload a BETA version of the DLL.

Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 14th Apr 2007 11:31
Hey very nice!



Login to post a reply

Server time is: 2024-09-29 20:28:56
Your offset time is: 2024-09-29 20:28:56