[Solved]U.I Score System

I want to build a score system that increases with time like in "Temple Run " or “Subway Surfers”
using nodes.
Any Help is appreciated.

1 Like

Try this

There is two properties “score” and “playing”.
Score will increase each frame and stop increase if “playing” is false.

3 Likes

@MagicLord Thanks for the help, but this does not work.

It was not tested, i will make a version i will test.

did you attach the nodetree to something in the game and did you fill in the object values when you tested this. It should work just fine.

@Monte_Drebenstedt I attached it to my player and also filled the values (player)

1 Like

@Monte_Drebenstedt and @MagicLord, I have got it myself.
Don’t know what was I doing wrong but found another way.

2 Likes

Awesome. That is great.

1 Like

@Monte_Drebenstedt

First created a UI canvas with empty text object(No text), named TextScore.
Then attached it to the camera and this logic tree to the camera as well.
Hope this helps you in some way.
Yours sincerely,
Aqua

1 Like