Scrollable text in ebook

Get help using Construct 2

Post » Fri Oct 11, 2013 4:59 pm

I would like to make simple ebook
but don't have idea (yet) how to put more text
and make it scrollable with touch?

B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Fri Oct 11, 2013 6:01 pm

The textbox object works rather nice for that.
Just set the preferences to text area.
Image ImageImage
B
172
S
50
G
184
Posts: 8,444
Reputation: 116,107

Post » Fri Oct 11, 2013 6:08 pm

@newt

No problems with i.e. bolds, spaces etc?
And if scrolling - add drag&drop + bound to layout? :))szymek2013-10-11 18:08:56
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Fri Oct 11, 2013 6:09 pm

I was watching this thread, I have been sort of baffled about this too.

Thanks @newt, that is a great tip.
B
29
S
8
G
4
Posts: 767
Reputation: 5,985

Post » Fri Oct 11, 2013 6:17 pm

Not sure you can do in line bold, but every thing else should be doable.
Image ImageImage
B
172
S
50
G
184
Posts: 8,444
Reputation: 116,107

Post » Sat Oct 12, 2013 7:46 am

@Ashley @newt

I would like to have scrollable text like Java's "ScrollText",
however when I paste some lorem ipsum:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum sed imperdiet quam, et interdum risus. Mauris adipiscing sem libero, vitae fermentum ipsum ornare eget. Sed ut massa non massa pharetra tristique varius eget nulla. Fusce rutrum iaculis rhoncus. Vestibulum aliquet eu nunc eget feugiat. Proin imperdiet felis tempus interdum tempus. Aliquam volutpat neque ac ante rhoncus egestas. Maecenas blandit velit ac viverra placerat. Ut volutpat porta pellentesque. Integer in quam enim. Vestibulum molestie leo nec nibh interdum rutrum. Mauris egestas lorem sed mi faucibus semper. Donec interdum urna ac diam pretium, nec sagittis enim fermentum. Sed eget euismod lorem. Pellentesque ut pulvinar justo, eget lobortis metus. Etiam venenatis, quam sed mattis posuere, dolor risus vestibulum ante, quis placerat tellus est quis nunc.

Etiam felis nulla, semper nec arcu a, porttitor tempor diam. Praesent interdum, nisi vel condimentum condimentum, urna neque vestibulum tortor, vel dictum velit justo nec nulla. Suspendisse potenti. Donec dictum, ante nec consequat molestie, erat tellus vehicula enim, id tincidunt dui dui dignissim leo. Curabitur urna mauris, dictum sed ultrices in, lobortis eget lectus. Curabitur placerat nibh et feugiat faucibus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Etiam urna purus, porta sit amet faucibus vel, pretium vitae libero.

Phasellus gravida, odio in malesuada commodo, mauris nibh pretium nisi, ut convallis lorem tortor eu lacus. Cras felis elit, adipiscing ut ipsum in, gravida tempus justo. Nullam bibendum pulvinar sapien id ultricies. Morbi ut vestibulum dui, suscipit ullamcorper ante. Vestibulum imperdiet nec metus ac congue. Proin feugiat ultrices sem quis euismod. Cras rutrum imperdiet bibendum. Aenean sed augue vel urna pulvinar vestibulum. Pellentesque sit amet auctor tellus. Pellentesque nec malesuada nibh. Quisque sit amet elementum dolor.


Nullam porttitor hendrerit est ac fermentum. Ut neque erat, imperdiet id lectus ac, pretium ornare nisi. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Curabitur luctus lacinia ultricies. Mauris volutpat mi eu mattis porttitor. Aliquam sed mauris vitae tellus adipiscing rhoncus. Aliquam semper tellus risus, euismod rutrum dolor hendrerit in.

Quisque luctus consequat urna scelerisque dignissim. Quisque mauris lectus, semper vitae ornare nec, viverra quis augue. Integer congue facilisis felis et blandit. Nullam ipsum orci, bibendum ac viverra vitae, elementum a turpis. Proin eu vehicula urna. Nullam dictum fringilla feugiat. Vestibulum commodo arcu ut quam vehicula dignissim. Suspendisse mi purus, ultrices eu congue tempor, rutrum ut sapien. Nullam vitae mollis felis. Morbi sagittis, turpis a posuere blandit, felis eros ultricies nibh, ut consequat nisl massa vitae ipsum. Nam consectetur at ipsum sed accumsan. Morbi ultrices ornare mattis. Sed non eleifend nulla, at faucibus libero. Integer non erat a arcu consequat convallis id id ipsum. Vestibulum id eros sem. Maecenas at urna dui.

into TextBox:
- there are no spaces between paragraphs
- no setup for font size (auto is always very small)

what to do?

can I prepare a few HTML pages (with <br> and <b>) and inject text from them somehow?szymek2013-10-12 14:43:53
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Sun Oct 13, 2013 2:53 am

@Ashley

help :)
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Sun Oct 13, 2013 3:00 am

at the end of a paragraph add a "&newline&".

B
29
S
8
G
4
Posts: 767
Reputation: 5,985

Post » Sun Oct 13, 2013 3:48 am

Any hint for bold
and font size?
B
18
S
7
G
1
Posts: 783
Reputation: 4,247


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 26 guests