Hey everybody,
I am making an Charakter Upgrade System, for that I want to display how much Speed the Charakter actually has got.
So.... I have done it like that:
On Start of Layout ---> Text -----> Set Text to Player.Plattform.Speed
But it dont works.. The Text is still empty, hope u can help me.
Thanks
Well, it works for me, so upload an example.
Reasons for the text to not appear:
Text box smaller than one line of the selected font style
Also I think you want to use MaxSpeed instead of Speed, no?
Develop games in your browser. Powerful, performant & highly capable.
It works for me too PlasmaGames2013 but I often get caught out by the font size v text box height issue.
No, it is not the size of the text/Sprite font..
When I want to show a varriable - no problem.. but when i want to show players behaivor Platform speed, it doesent works.
thats because the way it currently is set up is it sets is once on start on layout. you need to set it to set text every tick or however much you need it updated(like on change).
Player.Platform.Speed will show the speed the object is currently moving at, not it's maximum potential speed.
Sounds like you want to show Player.Platform.MaxSpeed.