RPG-Style textboxes?

Get help using Construct 2

Post » Sun Mar 31, 2013 4:16 pm

Has anyone written events to create scrolling textboxes that can be clicked through, like in JRPGs or Phoenix Wright? Possibly that can import text from outside files? How could something like that be done?ChrisAlgoo2013-03-31 16:32:22
B
17
S
4
G
4
Posts: 143
Reputation: 4,004

Post » Sun Mar 31, 2013 5:52 pm

I'm at the point of wondering about scrollable window box too, like with a mouse wheel, but for now we might have to use pagination technique, that is, press something to keep the content going instead of scrolling through things.

Here's a quick and dirty example: https://dl.dropbox.com/u/1990899/dialogue.capx

You can wrap something like that into a function for future reuse. Those are probably not the best choices of events to make it perfect but that's the idea.rosareven2013-03-31 18:32:59
B
19
S
6
G
1
Posts: 116
Reputation: 2,730

Post » Mon Apr 01, 2013 4:43 am

I whipped up a demo of loading XML dialog, and displaying it in the way that I think you're looking for.

Demo
Annotated Capx

There may be more efficient ways to accomplish the same effect. This is just the first one that came to mind.
B
44
S
13
G
7
Posts: 338
Reputation: 10,379

Post » Tue Apr 02, 2013 11:44 pm

Thanks zatyka. Your example is a lot cooler.

I might use json instead of xml though because I heard cocoonjs has trouble with xml objects. Unless that's sorted now.
B
19
S
6
G
1
Posts: 116
Reputation: 2,730

Post » Mon Apr 08, 2013 12:08 pm

Thanks everyone for your replies!

Zatyka, your demo was awesome and your dialogue hilarious.
B
17
S
4
G
4
Posts: 143
Reputation: 4,004


Return to How do I....?

Who is online

Users browsing this forum: mercuryus and 14 guests