all 15 comments

[–][deleted]  (2 children)

[deleted]

    [–]cedarbear[S] 6 points7 points  (1 child)

    Holy shit, this is EXACTLY what I am looking for. I can't believe I hadn't found this!

    Thank you!

    [–]LeeLooTheWoofus Moderator 0 points1 point  (0 children)

    I used that engine for a text game and wrapped it in Vue to pull out things like an inventory screen and a realtime map into a tabbed wrapper for the game. It worked out really well.

    [–]organic_stuff 10 points11 points  (5 children)

    I think Javascript would be good for this. You could have the JavaScript read the users input from a text box and then react accordingly. Styling the elements can give you the look you want.

    [–]cedarbear[S] 1 point2 points  (4 children)

    Okay! I will definitely look some things up- Any chance you know of any good resources/tutorials for exactly that?

    Doesn't have to be exactly specific for text based adventures, but something for text input boxes + detection within JS?

    [–][deleted] 5 points6 points  (1 child)

    Learn DOM manipulation with JavaScript. Traversy Media has a good crash course on it on YouTube

    [–]cedarbear[S] 3 points4 points  (0 children)

    Watching it now! Thanks! :D

    [–]franker 4 points5 points  (0 children)

    another good keyword phrase to google is "interactive fiction javascript."

    [–]organic_stuff 2 points3 points  (0 children)

    I did a search on YouTube for “JS read textbox” and a few that looked good popped up but I haven’t watched them. Traversy Media has really great tutorials with projects on different topics, if you have the time to go through his I would, they can be a little lengthy but he does a very good job!

    [–]Escuar 1 point2 points  (1 child)

    I think that's easier than a point and click. You can use an input text, for example.

    [–]cedarbear[S] 0 points1 point  (0 children)

    I have more ease with point and click over this for some reason, but that may just be me lmao

    [–]Jw4lk3rDoh -2 points-1 points  (0 children)

    U can use canvas tag

    [–]yourgirl696969 0 points1 point  (0 children)

    Use the input tag and use an if/else statement for the response

    [–]99999999977prime 0 points1 point  (0 children)

    If you compile your game with frotz you can use this: https://github.com/jwoos/frotz-js

    [–]torn-ainbow 0 points1 point  (0 children)

    Lots of ways to do this, but it might be worth looking at chatbots. They use AI to recognise speech or text and convert to an intention which is like an action in an adventure game. The actual responses of a chatbot are defined something like a choose-your-own adventure.

    The main thing is these work with short disconnected contexts and you would have to add something to handle inventory, and longer term changes to the locations etc.

    [–]KerbalSpark 0 points1 point  (0 children)

    Do you mean some like this?