Suggestion:Sprite Font

Discussion and feedback on Construct 2

Post » Mon Jul 20, 2015 9:21 pm

Hey Kyatric!

I opened your example and it looks like a good easy way to display own sprites as font.
I also tried to understand whats going on in the eventsheet but i can't.

1- Is it true that it replaces each character of a normal textobject by a single frame of the font u used?
2- If its true: how c2 knows what frame should be displayed with each character of the textobject?
3- I want to display the text of my dialogsystem. Could you give me a tip which of the events you used would be important for that?

kind regards,
spinat
B
3
Posts: 5
Reputation: 185

Post » Tue Jul 21, 2015 6:47 am

spinatenpower wrote:Hey Kyatric!

I opened your example and it looks like a good easy way to display own sprites as font.
I also tried to understand whats going on in the eventsheet but i can't.

1- Is it true that it replaces each character of a normal textobject by a single frame of the font u used?
2- If its true: how c2 knows what frame should be displayed with each character of the textobject?
3- I want to display the text of my dialogsystem. Could you give me a tip which of the events you used would be important for that?

kind regards,
spinat


Construct2 now has an official spritefont plugin..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
53
S
16
G
8
Posts: 6,157
Reputation: 19,744

Post » Tue Jul 21, 2015 10:45 pm

Hey LittleStain

Thanks for your quick answer!
I checked out the sprite font plugin, spritefront + and Give Your Fonts Mono.
I also checked the tutorials on this, but its a way to complicated to me.
I'm working on an easy solution to view my own textsprites.
Would you take a look at the following picture and tell me if it's realizable?
Image
I created text instance variables for my dialogobject and have a single sprite with about 50 frames in it (letters, points...).
This works, but my problem is that it shows just "C" if i set the dialog object to ABC.
I guess c2 jumps immediately from one event to the next one. Do you know how to
show all letters at once?

kind regards,
spinat
B
3
Posts: 5
Reputation: 185

Post » Tue Jul 21, 2015 11:11 pm

Can you share a .capx file?
Tag me using @Iolva or send me PM
B
68
S
19
G
9
Posts: 638
Reputation: 8,957

Post » Tue Jul 21, 2015 11:38 pm

If setting a spritefont is complicated for you (which is probably a lot easier than setting a multi frame/animation sprite object), then recreating it with events will be even more complicated for you.
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: spy84 and 5 guests