- Home /
 
               Question by 
               unity_680616 · Dec 02, 2021 at 03:15 PM · 
                c#2d2d game2d-platformer2d platformer  
              
 
              In my 2D platformer game, how would I create a height marker?,
In the game, the player must progress up a very dangerous tower in which they are constantly being brought back to the beginning by death. I was planning on creating a height marker to display how far the player has reached in the run, with no luck.,In the game, the player has to travel up a tower in which it is very easy to die and restart at the beginning. I was planning on making a marker to display how far the player has gone up in the run, but with no luck.
               Comment
              
 
               
              Answer by Luis0413 · Dec 02, 2021 at 06:09 PM
If the player starts at y 0 then you should be able to just use the y position. If the player however starts above or under y 0, then just add/subtract the y position in which the player starts.
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                