Dagoba
Member
Hello!
I want to have an effect that when you score, your scoreboard won't just jump from like 150 to 200, but it will increment score one by one from 150 to 200 (score++
I tried this with the following method:
But it will count it so fast, that it looks like it just adds the 50 score immidiately, and not adding up.
And for obj_controller, I am just drawing the score like draw_text(room_width / 2, 0, "Score: " + global.points);
So how can I achieve this kind of effect?
There could be used and alarm's, but the counting is inside of a script.
Thanks in advance!
I want to have an effect that when you score, your scoreboard won't just jump from like 150 to 200, but it will increment score one by one from 150 to 200 (score++
I tried this with the following method:
Code:
for (i = 0; i < pending_score; i++) {
global.points++;
}
And for obj_controller, I am just drawing the score like draw_text(room_width / 2, 0, "Score: " + global.points);
So how can I achieve this kind of effect?
There could be used and alarm's, but the counting is inside of a script.
Thanks in advance!