How do I animate in-game text?

Just started using Construct 2? Post your questions here

Post » Sat Apr 16, 2016 4:36 pm

I'm doing a game that's very text-heavy.
As a result, I'd like a method of embedding some emotion into the text.

I've seen other pixel games accomplish this like this:
Image

Ultimately, I have no idea how to do this currently.
If it involves rewriting the text object in JS, I can probably handle that, I'm just wondering if you all think there might be a way to do this in Construct 2.

Thanks!
B
21
S
6
Posts: 77
Reputation: 1,445

Post » Sat Apr 16, 2016 6:38 pm

I'd like to know this as well. I wonder if perhaps somebody has made a plugin? It seems like a common thing to want to do.
Image



Coming soon on Steam!
B
16
S
9
G
3
Posts: 204
Reputation: 3,466

Post » Mon Apr 18, 2016 8:01 pm

You can maybe find some useful text plugins here, just scroll down on the website and you´ll find it: http://c2rexplugins.weebly.com/

To make the text look like it´s being written.. http://dl.dropbox.com/u/15217362/typewriter.capx
Burry me with my empty hands sticking out the ground, so that all can see, that the one who had the world on his hands, died with them empty.
B
19
S
4
G
4
Posts: 133
Reputation: 3,068

Post » Thu Apr 21, 2016 1:38 pm

I figured out the typewriter effect.
The only issue I have left is animating the stuff :)
B
21
S
6
Posts: 77
Reputation: 1,445

Post » Mon Apr 25, 2016 9:38 am

Hmm I feel like all those effects could be duplicated with functions and individual text objects after breaking a word up in to each of it's letters. I would probably create a typewriter effect system where every character of your text is each in it's own object to keep things flexible.

I don't think it would be a huge performance hit, as there are maybe 100 characters at a time and text sequences usually don't have much other action going on.

I might be interested in making an attemt at a later date. No promises though.
Mistakes were made.
B
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

Post » Mon Apr 25, 2016 10:03 pm

https://www.dropbox.com/s/211xd1ir76hq8 ... .capx?dl=0

That was actually kinda fun, not too difficult. Here are a few examples of possible effects all done within C2's included behaviors and plugins.

Unpolished, but it should give you a rough idea about what you might be able to do (anything really). If I were to touch it up I'd probably use spritefonts to take care of the kerning issue (I imagine you want to use spritefonts if text is a major focus of your game anyway).

You'll also need to be a little creative to figure out how to properly position the effects within just a part of your text, but that really depends on how your system will be set up so I won't be taking a crack at that at this point.
Mistakes were made.
B
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

Post » Mon May 02, 2016 4:45 pm

Oh snap! Thanks so much - I'm at work right now, but I'll take a look at this when home!

<3
B
21
S
6
Posts: 77
Reputation: 1,445


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest