As I can make a high score board online without database?

0 favourites
  • 6 posts
From the Asset Store
Set of 21 Food plus 6 boards, for different kind of games
  • Hello there! I wonder if I can do what I mention the title of the post.

    So use my dropbox account and not have to use a dedicated server.

    Thank you!

    brunopalermo

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hmmmm... Don't think so.

    By the way, I won't even try and make one from scratch. there are lots of issues that you'd have to solve that someone probably already solved in a scoreboard API. There are a few out there. Never used any of them, but my suggestion would be to check them out and pick one you can use in Construct 2 and that serves you well.

  • Ha ha! I would not ask you to do one from scratch. Will investigate the matter and I will continue searching for the forum.

    Thank you very much!

  • By the way, I just run into this Clay.io yesterday. It has a plugin specific for Construct 2 games and may serve you well...

    Besides Leaderboards it also gives support to:

    Achievements

    Data Storage

    In-game Payments

    Analytics

    Social Integration

    Facebook posting & inviting

    Tweeting

    Posting to Clay.io Stream

    Screenshots

    Multiplayer Rooms

    Cross-promotion

    Ratings

    Here's the link to its documentation:

    http://clay.io/docs/construct2

  • a simple scoreboard is easy to do if you wish to just use ajax and you can write a cgi-script.

    Get your C2 game to make a request to a cgi-script which includes the score and name (or identifier) in your http call code

    for example, the following link hits a perl file which is my cgi-script.

    http://111.222.333.444/cgi-bin/add_scor ... &name=jack

    after that you can have your cgi-script to read a text file (or xml file). process the new score, then write out the new file. your game can then use ajax to pull the updated file.

    this will do what your post-title requests, however it does not do what your text says... you will need something that can run a cgi-script and that tends to need a server of some type. I don't know but I doubt dropbox will execute stuff for you.

  • The problem is if you have lots of people accessing and writing the file at once... Some scores will be left out. APIs have probably solved this problem so you don't have to worry about... Reinventing the wheel is never cost effective...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)