How to display distance at the end of the game ?

Discussion in 'How Can I...?' started by eyal, Mar 30, 2016.

  1. eyal

    eyal Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    642
    Likes Received:
    121
    My character runs in a side scroller
    how do I show the distance it passes like in temple run etc
    and how do I show it at the end of the game.

    Thank you
     
  2. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    go to ui you want to show it in (i.e. game over) and drag a label and select the score on the drop to the right... you might want to drag another label and make it user text next to it that reads "score" or "distance" or something..
     
  3. eyal

    eyal Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    642
    Likes Received:
    121
    heathclose likes this.

Share This Page