How do I create a leaderboard?

0 favourites
  • 9 posts
From the Asset Store
Easy Leaderboard is a simple 3-column (position, name, score) leaderboard with a customizable appearance
  • Hi guys how do i create a leaderboard where the users can enter there 2 initials and there score gets taken in and then the top 10 scores are displayed with the initials of the person who set that score.

  • hello.

    You can check this blog: elearningbrothers.com/how-to-cre ... ng-google/ its about how creat leaderboard at gogle doc.

    May help you.But this is a simple example. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Okla the link is broken

  • https://www.scirra.com/tutorials/259/ea ... -your-game

    so it seems its been disabled until further notice.

    im not too knowledgeable about multiplayer or savegames, but i would assume you save a player name as a variable, and score as a variable, as well as positions on the leaderboard, if leaderboard2 > leaderboard 1 set nameholdervariable to leaderboard1, set leaderboard1 to leaderboard2, set leaderboard2 to nameholdervariable

    this would successfully replace the player in first with the player in second, and vice versa if the person in second has more points than the person in first. this would be daisy chained all the way to however many leaderboard slots youd want. each would just be a text object, same w scores.

    as far as how to get the names and scores of the players and display to all users, that my friend i do not know.

    as i said, not too knowledgeable about multiplayer, ive been wanting to learn how to make a texting app but i assume i need a server or a license. but i think the server is the key, its a host that connects with all users and can ferry information back and forth, or hold it while games are inactive.

    though, don't give up

    can always fake it til you make it.

    set 2 columns of 11 text objects, top 2 are name and score. the rest are leaderboard1, leaderboard2, etc. can make a list of fake names, and play 10 times and write in your scores, maybe some high some low, scores can be random generated numbers within ranges, and if player is above x score they take that slot, giving them the positive feeling of beating other people, without the actual server or other players. also makes your game feel more popular, as theres all these other players, even if said player is the first or second to play your game.

  • another neat trick is loading screens. most events in construct are instant. though, you could add a nice loading screen to give your users a break, or to build anticipation. ive had a few apps in the past with progress bars linked to timers, and at set increments change text to a different % and say "building profiles..... adding ****"and random functions to make people think its actually doing things in the background, when really its an app comprised of 4 lines of code.

  • the_Shit_hawk

    Thanks for your help I will try this!

  • Click: Tools>Script Editor.

    Delete the default code.

    Paste in new code from Leaderboard GAS file.

    Save (Enter a project name)

    Click: Run > setup.

    An Authorization Dialog will appear. Click Continue.

    Click Allow (It is safe because it is your app. ...

    Click: Publish > Deploy as web app

    more details visit our website

    besanttechnologies.com/training-courses/oracle-training

  • Click: Tools>Script Editor.

    Delete the default code.

    Paste in new code from Leaderboard GAS file.

    Save (Enter a project name)

    Click: Run > setup.

    An Authorization Dialog will appear. Click Continue.

    Click Allow (It is safe because it is your app. ...

    Click: Publish > Deploy as web app

    more details visit our website

    https://www.besanttechnologies.com/trai ... e-training

    sidenote - its never wise to copy and paste code. copy it manually unless its from a trusted source. there can be hidden data in a copy and pasted text, which, when entered into something that can run said text, or you know, put into something like an app or game, can cause undesired interaction between your app and your user; which could do many unwanted things, i.e. data mining your users, infecting their accounts, or even intercepting payments etc. Granted we can do a lot of cool stuff with construct, but never forget theres people who do way more without it out there. everything you've seen on a computer was made by somebody, well, up until recently w google but even their softwares manmade at some point.

  • Where i can get manuals of this game? I want to learn about it.

    elegantitservices.in elegantitservices.in

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