How do I put text on sprites

Get help using Construct 2

Post » Sun Jan 08, 2017 6:29 pm

I'am trying to make a game intro animation where the text becomes bigger and gets closer to the screen. But i can see that it's hard to do it with the font size. I think the easiest way is to put text into the sprite and that makes it way much easier. how to i accomplish that ?
B
45
S
18
Posts: 37
Reputation: 3,632

Post » Sun Jan 08, 2017 6:33 pm

You could use a sprite font and just scale it using every x seconds or something similar.
B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941

Post » Sun Jan 08, 2017 6:56 pm

is there any expressions that define the text's scale ? like "SpriteText.scale"
B
45
S
18
Posts: 37
Reputation: 3,632

Post » Sun Jan 08, 2017 8:32 pm

Sprite fonts do have a scale expression, yes.
B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941

Post » Sun Jan 08, 2017 8:38 pm

how do i call it ?
B
45
S
18
Posts: 37
Reputation: 3,632

Post » Tue Jan 10, 2017 1:39 am

Try this link to learn more about sprite fonts.. https://www.scirra.com/tutorials/629/sp ... when-where
B
79
S
31
G
7
Posts: 148
Reputation: 9,179

Post » Tue Jan 10, 2017 4:13 pm

This should get you started. This uses a spritefont but you can do the same zoom effect with sprites or whatever.

https://www.dropbox.com/s/6gpdz8qk4658u ... oming.capx
B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941

Post » Thu Jan 12, 2017 2:49 am

I figured a way to do it but it takes lots of space. still does the job. thx
B
45
S
18
Posts: 37
Reputation: 3,632


Return to How do I....?

Who is online

Users browsing this forum: Ryan Kocourek and 3 guests