Spritefont adjustments via spritesheet

Get help using Construct 2

Post » Thu Aug 29, 2013 10:19 pm

Is there any way to make adjustments from the spritesheet level?
Example:
I have many instances of spritefont with different content on a layout.
How to make one of them visible, while others are invisible? Like a changing subtitles...

If I select spritefont I can only make changes to all of the instances on the layout at once... How to apply changes only to picked instance?
B
40
S
14
G
6
Posts: 152
Reputation: 5,517

Post » Thu Aug 29, 2013 10:53 pm

Give the spritefont object variables. Use these to pick instance.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Aug 29, 2013 11:02 pm

I'm sorry for my insufficient knowledge of basic programming, but let's say I picked an instance using it's variable, than what?

Can You provide some basic example?
B
40
S
14
G
6
Posts: 152
Reputation: 5,517

Post » Thu Aug 29, 2013 11:08 pm

system on start of layout
spritefont if variable is 0 - spritefont set visible
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Aug 30, 2013 11:15 pm

AFAIR if you create a spritefont and after that apply adjustments, they'll only apply to the one you just created.
B
12
S
3
G
1
Posts: 347
Reputation: 2,866

Post » Sat Aug 31, 2013 2:07 pm

I've played around with the spritefont. Both of you are right. Thanks.
B
40
S
14
G
6
Posts: 152
Reputation: 5,517


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests