How do I use Sprite fonts?

Get help using Construct 2

Post » Fri May 12, 2017 2:06 pm

Hi,

I am using GYFM to create a sprite font from a normal font (gil mt schoolbook) but the spacing of the characters are not all the same?

In the text file created by GYFM it talks about copying a .json string into a command for an array (array.load) but array.load isnt a command .
I assume it means The load action on the array but how do i then tie it to the sprite font?

If there is any material like a tutorial or soemthing i would be very grateful if you could point me in the direction of it.

Thanks
B
5
S
1
Posts: 65
Reputation: 507

Post » Fri May 12, 2017 2:11 pm

There is a sample CAPX in the original post. There is also a tutorial someone else wrote.
https://www.scirra.com/tutorials/629/sp ... when-where
ImageImageImage
B
71
S
22
G
257
Posts: 3,790
Reputation: 142,696

Post » Fri May 12, 2017 2:43 pm

Thanks a lot. Great application and sorry about saying no tut. i had the example capx. already downloaded i just forgot as i am dumb.

Thanks
B
5
S
1
Posts: 65
Reputation: 507

Post » Fri May 12, 2017 4:40 pm

blackhornet wrote:There is a sample CAPX in the original post. There is also a tutorial someone else wrote.
https://www.scirra.com/tutorials/629/sp ... when-where


Can i use one array on mulitple Sprite text objects?
B
5
S
1
Posts: 65
Reputation: 507

Post » Fri May 12, 2017 5:49 pm

The array is only used temporarily, so yes, it could be reused.
ImageImageImage
B
71
S
22
G
257
Posts: 3,790
Reputation: 142,696

Post » Mon May 15, 2017 9:04 am

Thanks again Blackhornet
B
5
S
1
Posts: 65
Reputation: 507


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 2 guests