Vice City Multiplayer
VC:MP 0.4 (Beta) => Script Discussion => Topic started by: Flockshot on September 21, 2014, 04:12:17 am
-
I would like to know that is there a way to use text for sprites.
Not talking about textdraw but the sprites itself.
Like if i wanted to show how much fuel is left and give it percentage then i would have to make 100 sprites 1 for all numbers.
Is there a way that we can only use one sprite and we can write and show text or numbers with it.
I dont want to use the textdraw as they are very small in size.
-
I would like to know that is there a way to use text for sprites.
Not talking about textdraw but the sprites itself.
Like if i wanted to show how much fuel is left and give it percentage then i would have to make 100 sprites 1 for all numbers.
Is there a way that we can only use one sprite and we can write and show text or numbers with it.
I dont want to use the textdraw as they are very small in size.
Make a font system which contains:
Numbers 0-9
Text A-Z a-z
Symbols that you wish
-
In only one image file like this
(http://i1348.photobucket.com/albums/p730/msomaan/magicFont_zps320c081e.png) (http://s1348.photobucket.com/user/msomaan/media/magicFont_zps320c081e.png.html)
or different image files for different numbers,text
-
You'd need different images, since you can't show parts of a sprite.
-
You'd need different images, since you can't show parts of a sprite.
Ye, this example as format (letter):(file name)
a:font_a.png
b:font_b.png
...