Results 1 to 10 of 17

Thread: How to implement an online high score table?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Implementing a script that would print a nicely-formatted high-sore table basing on a file or data from MySQL takes only basic PHP knowledge, and that's really easy to learn. There are a lot of people who complain about PHP, but IMO this thing is great for making small, simple things - just like shell scripts.

    Btw, why do most the packages on FPC documentation produce E404 when clicking "view interface"?

  2. #2
    Or you could use a preformated html document that is downloaded and edited and then uploaded again. You know where the different entries are, so editing the file will be easy. The Synapse units does the networking in just a few lines.

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Generating HTML is an option, however it wouldn't act as a solution for being able to extract those highscores for later use in any of the in-game stats.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #4
    Wouldn't be the easiest solution for implementing Online High Score just by using some database. There are several database components which alow easy acces to SQL based databases.
    And since almost all WebServer providers offer you an easy way of establishing a database on their servers I don't see why not use it.
    As for the web page which will alow viewing highscore list outside your game you can simply use PHP or some Java scripts to read those records from the database and show them in a webpage form.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •