Horizontal Text

Get help using Construct 2

Post » Mon Jan 21, 2013 1:10 am

What's the best way to smoothly scroll text horizontally in a single line from one side of the screen to the other?
B
19
S
3
Posts: 62
Reputation: 1,764

Post » Mon Jan 21, 2013 2:19 am

Bullet behavior?
B
40
S
12
G
7
Posts: 603
Reputation: 7,656

Post » Mon Jan 21, 2013 3:00 am

If you have you text off screen to the left then give it the bullet behavior, by default I think it will just scroll across the screen but you can't control it. You could say every tick set it's position to current position+X then maybe add a wait and repeat. Something like that may work.
B
6
Posts: 90
Reputation: 690

Post » Mon Jan 21, 2013 3:45 am

@Waffle of war

You can set the bullets behavior "Set Angle" to false, and then send the bullet which ever way you want and it won't rotate with the direction.
B
40
S
12
G
7
Posts: 603
Reputation: 7,656

Post » Mon Jan 21, 2013 5:00 am

Certainly bullet behavior does it. My only concern is how jittery it moves. Not smooth at all.
B
19
S
3
Posts: 62
Reputation: 1,764

Post » Mon Jan 21, 2013 5:21 am

The jitteriness should be controllable based on the speed at which the bullet is travelling I would think. Also framerate may have some hand in that as well.
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,428

Post » Mon Jan 21, 2013 4:21 pm

Yeah text object isn't smooth at all. SpriteFont plugin would be your best bet, or roll your own. Simple enough to do. If you don't want to use a plugin, I can put up a capx for you.
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Mon Jan 21, 2013 5:11 pm

If you don't mind posting a capx, I'd like to see one. Thanks!
B
19
S
3
Posts: 62
Reputation: 1,764

Post » Tue Jan 22, 2013 5:18 am

Okay. I have my text scrolling. But there seems to be a limit to how long a sentence can be. How do I have a series of texts which scrolls in a single line like the crawls/tickers on ESPN, CNN, etc.,?
B
19
S
3
Posts: 62
Reputation: 1,764


Return to How do I....?

Who is online

Users browsing this forum: jeffige and 20 guests