Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I've created a mini framework for non-technical folks (or anyone) to use

A topic by yochrisbolton created Jul 01, 2022 Views: 173 Replies: 2
Viewing posts 1 to 3
(2 edits)

Yo,
I made a mini framework here that I'm going to be using that lets you write your story in text files, and it'll output them to the console for you.

Ex to get this:

Just gotta write:
```
[Text]
Welcome to Example Story. To navigate, you can use the ^yarrow keys ^cand select using ^yenter

[Options]
Thats neat => neat.txt
Yo => yo.txt
```

The project can be found and forked here for anyone interested:
https://replit.com/@yochrisbolton/text-game-jam#index.js

To use this for yourself:
- fork the project
- replace the contents of `story/start.txt` with what you want
- each option must link to a page, and that page name must exist in `story/` folder
  - ex `Thats neat => neat.txt` will look for `story/neat.txt` when the option is selected
- profit

No warranty here, no real support

Host

This is kind of an external library, but ok.

Submitted(+1)

Great thanx! Used your framework and mentioned you in the credits.