Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

How to make text bigger in javascript code?

$
0
0
I'm trying to make an item counter for my little game but the text is so small compared to the timer I have. The font size of my timer is 20. How can I make my item counter text bigger? I used this video for the codes https://www.youtube.com/watch?v=cg349rLy8Ro static var gscore : int = 0; function OnGUI() { GUI.Label (Rect (10, 10, 100, 20), ("Esineet: " + gscore)); } _ function OnTriggerEnter (info : Collider) { Destroy(gameObject); ScoreCount.gscore += 1; }

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>