Text Adventure Input Mehtod

Get help using Construct 2

Post » Sat Aug 23, 2014 12:19 am

Hello,

I started making a text adventure with a console style font. I use the text object for the story and the textbox object as the input box at the moment. I'll use a typewriter effect to print the text. I would like the typewriter cursor to jump two lines down when finishes printing the story and wait there, blinking. So I can write without using the mouse and choosing the textbox manually.

It would also be nice if I could do this all in the text object, since the text in the textbox doesn't scale when I change the layout/window size. I don't know how is this possible since I'm not sure if there is any way to turn the text object into an input box. Should I bind all the letters/numbers to their keyboard buttons and let the text object just print the letter I press via the keyboard input?

Is there an easy way? I'm making a keyboard-only game.

P.S.: I'm also looking for a way to scroll up the text if reaching the bottom of the layout like in DOS.

Image
B
5
Posts: 19
Reputation: 265

Post » Sat Aug 23, 2014 12:39 am

Have you looked for game builders specifically made for text adventures? Not that I want to put you off C2 :) It can be done but it's a bit of a square peg in a round hole. Maybe you could just embed a z-code interpreter :D

https://code.google.com/p/parchment/

http://iplayif.com/?story=http://mirror ... ThePark.z5

But I like the amber CRT.. takes me back :roll:
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Sat Aug 23, 2014 7:48 pm

I found several text adventure maker sites, none of which had a way to make a desktop app out of them. I'm not really a coder so I'm not interested in apps involving coding. If you happen to know an interactive fiction builder which is easy to use, supports whatever fonts I have and can be exported to a desktop app then I'm interested. I chose Construct 2 because I've used it for other projects and it has the best option so far for these points.

Also, couldn't find an option to press enter (or access new line an other way) in the text object.
B
5
Posts: 19
Reputation: 265


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests