How to make Scoring in RMXP?

Hello, I just started using RMXP on friday because im currently working on a game project but a small game project.

Before i ask a few questions,i would like to introduce my game, The game is called animalrescue which the player needs to rescue the animals by answering a few quiz.. When each quiz is answered coorrect, the player may move to the second question. My question is :

1. How do i make a score appear in my game screen when the player answer the correct quiz??(also i want to deduct the score if the player answer wrongly)

2. After the game is over, how do i display the score for the player?...

Here i Have attach my games to help me...ProjectGame.rar

Picture: help.png

Basically i want the score appear at the red box..

I would really appreciate for those that could help me...

Thanks!!
You need to use variables.


Define one variable as your score, then at every point where it changes use control variable to either add or substract the number you want from the variable.


And you can display the current value of the variable with text codes in the show text command.


This advice goes for all makers as there is no difference at the variables on this level. If you don't understand variables, search for a game called "variables guide" - it's for Ace, but you can do the same in XP.


EDIT:


To make any values or text appear on the map screen, you'll need a HUD script
He could use Pictures to show Stuff.

The rest would be values and conditional branch.
I've finish making my scoring and making it appear on the map screen, Ty Andar for explaining it to me..

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-scoring-in-rmxp.44694/