How to show large amounts of text?

Get help using Construct 2

Post » Sun Nov 03, 2013 4:47 am

In case of mobile app?

CocoonJS does not support TextBox
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Sun Nov 03, 2013 8:07 am

I am not sure if PhoneGap supports the object, but you could try that approach.
Alternatively, what's keeping you from just using text objects or spritefonts?Stiivais2013-11-03 08:07:23
B
10
S
1
Posts: 163
Reputation: 1,436

Post » Sun Nov 03, 2013 9:23 am

@Stiivais

I have 2000-3000 signs of text that should be i.e. scrolled
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Sun Nov 03, 2013 9:35 am

You got to build your own scroll bar - lol.

I've been working a scrollbar for Spritefonts because it is very hard to customize textbox built in scrollbar.

There are two ways, one is very easy but not ideal for my purpose...
Maybe you might prefer it.
Scroll Spritefont
DUTOIT2013-11-03 09:36:07
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Post » Sun Nov 03, 2013 9:41 am

@DUTOIT

congratulations for CAPX idea

however just tried to put some more text and it shows only beggining (255 signs I guess?)
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Sun Nov 03, 2013 9:47 am

@szymek
Its got invisible layer on top, you got to position it correctly and your sprintfont box needs to be stretch the legnth of text. Which isn't ideal, especially for me who might need it to be longer/shorter.

Here is what I have at the moment with complicated version - Lol.
Scrollable SpriteFont

It is being made for my purposes, so not exactly what you are after. Push blue button to populate with text and use up / down buttons on scrollbar to move through text.

I use maths to scroll 13 lines, it rebuilds lines based on location etc etc etc etc lol

Built for touch so no mouse scroll. But still want to include touching scroll bar itself.

Edit: The comments are way old and a little outdated. I built in on 10 entries for round numbers - it is now 13DUTOIT2013-11-03 09:52:20
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Post » Sun Nov 03, 2013 9:57 am

@DUTOIT

+1

thanks

will check,

so SpriteFont can support large amount of text?
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Sun Nov 03, 2013 10:19 am

SpriteFont Limit - I am sure there is a limit (always is), but that should be way above your needs, my needs, and a few others all combined lol.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Post » Mon Nov 04, 2013 6:10 am

@DUTOIT

it works even with 4-5kb of text, yippie... now I will have to generate some normal looking font, because default SpriteFont is terrible for bigger amounts of text
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Wed Jul 09, 2014 1:00 am

@DUTOIT

I downloaded your solutions and I thank you for posting them.
B
11
S
1
G
2
Posts: 13
Reputation: 1,582

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests