i want to build a quiz game with database for high score

Discuss game development design and post your game ideas

Post » Wed Jan 18, 2017 11:40 pm

hello developer i'm just new to construct 2 but have a questioned to ask i want to build a quiz game that will pop up questioned the player will read the question and answer it if correct the the game will tell if fail the game will tell and move to next question, time will run down once the time rundown the game will stop and the game score will be shown and automatically it will send the score to database help plsss
B
11
S
2
Posts: 3
Reputation: 581

Post » Sun Jan 29, 2017 2:23 pm

For individuals to see their score, you fortunately don't need a database. You can use local storage:
https://www.scirra.com/forum/how-do-i-do-a-high-score-with-local-storage_t150975

If you want the scores to be shown for different players, then you are going to need another mechanism. Easiest would be to make an AJAX call to your web server where you store and retrieve the scores:
https://www.scirra.com/manual/107/ajax
B
14
S
5
G
1
Posts: 2
Reputation: 1,458

Post » Sun Feb 05, 2017 12:18 am

first of all i really appreciate response to my post as I've search through the internet to get this tutorial, thanks so much pls advice will i be able to allow player to register and login to play which will display the the player name and score and the player will be able to send the score to the admin for the admin to view, because why we want people to play the game and we check through the admin panel for high score and we send message to them or call them for the best player of the week or month and give them price to the best player who score the high score each month or each weeks pls explain i will appreciate your response
B
11
S
2
Posts: 3
Reputation: 581

Post » Sun Feb 05, 2017 12:42 am

If you upload your game to the Scirra arcade you can set up a leaderboard and let that take care of high scores.

Otherwise you will need to use local storage.

https://www.scirra.com/tutorials/1461/how-to-use-the-localstorage-plugin
Banned User
B
23
S
6
G
58
Posts: 1,229
Reputation: 34,540

Post » Fri Apr 28, 2017 1:30 am

thanks i will check it out
B
11
S
2
Posts: 3
Reputation: 581


Return to Game Development, Design & Ideas

Who is online

Users browsing this forum: No registered users and 2 guests