How to display and format big numbers š String formats, monospace and Text Mesh Pro
Chapters
Idle games, business sims and highscores have one thing in common: They display a lot of crucial big numbers. Sometimes on their own, more often as part of a table, especially in simulation games. Using just any font will lead to headaches on how to format them in a way that is easy to understand at a glance, so let's have a look at how we can solve this problem.
Links to the documentation pages mentioned:
Standard numeric font strings: https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings
Custom numeric font strings: https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-numeric-format-strings
The video description won't let me add the code for displaying sprites, please see my pinned comment for that.
š Chapters š
š Get the PDF Version of my tutorials
Would you rather read a book? I have a collection of eBooks on the Unity UGUI System here:
š Itch: https://christinacreatesgames.itch.io/
š¬ Join the Discord
You are very welcome to join https://discord.gg/8pDT2J2TBX !
š® Play My Games
š² https://christinacreatesgames.itch.io
šļø Recommended Assets
https://assetstore.unity.com/lists/highly-recommended-9071944798250?aid=1101lr4hF [affiliate]
š List of books all around Gamedev and Design I recommend: https://www.christinacreatesgames.com/bookshelf
Otherwise, using my affiliate codes for these stores helps to support my channel:
š Unity Asset Store: https://assetstore.unity.com/?aid=1101lr4hF [affiliate]
šŖ Synty Store: https://syntystore.com/christinacreatesgames [affiliate]
šŖø Envato Elements: https://1.envato.market/ChristinaCreatesGames [affiliate]
š¦ Amazon: https://amzn.to/3G8NgFq [affiliate]
š Actionable UI Feedback for Your Game
I offer UI consulting for gamedev projects! With 15+ years of design experience and a background of a teacher, Iām here to help:
š Learn more: https://www.vennegerts.com/en/gamedevelopment-consulting/
ā Support Me on Ko-fi
If you enjoy the content and want to support my work:
š Buy me a cocoa: https://ko-fi.com/christinacreatesgames
#unitytutorial #unity3d #gamedev #indiedev
Education
#Unity tutorial
#Learn Unity
#Text Mesh Pro
#Unity Text Mesh Pro
#Unity UI
#Unity Idle game
#Unity text
#unity tutorial for beginners
#unity text effects
#textmesh pro unity
#unity textmesh pro
#unity game tutorial
#unity textmesh
#unity text
#text mesh pro effects
#textmesh pro font
#textmesh pro animation
#textmeshpro sprite
#textmesh pro unity tutorial
#unity tutorial 2d
#unity tutorial 3d
#game development