I’d like to create a script (either in TypeScript or Narrat itself) to allow for the creation of rooms for NPC encounters, exploration, Etc. I’d rather not use Godot, so if I can do this in Narrat itself, that would be best.
Also, is there a template for combat encounters that allows the creation of combat encounters easily? I’m just getting started in Narrat and haven’t rad through the entirety of the documentation just yet.
Also also, are sprites required for characters? Being blind, I don’t have the ability to make art, and I’d rather not resort to AI art if possible. I’ll be making everything text only, as I’ll be developing games for the blind.
Regarding your first point : I have a locations.yaml file that contains my “rooms” and their content ; then in my gameInit script (run at gameload) I do
set data.locations (load_data src/config/locations.yaml)
Then using a passageway of any kind triggers a changeLocation script that takes the destination as an argument, and I track what I can interact with at the moment by setting and updating data.player.location
This is a bit vague without more context. do you mean a text based game that prompts you to move from room to room? There’s a lot of ways you could do that and it depends a lot on your game. But I don’t see any reason why you couldn’t.
You can definitely make them not appear by adding a bit of CSS. you might have to put a value in there, I’m not sure, but you could use a placeholder fake value and simply hide all character portraits to ignore that feature.
Similarly, you can have your entire game with an “empty” screen (aka no image), and you can use a custom theme to make your layout of your game fit a text-only game with no images.
In fact the page I just linked mentions a text-only theme example I made a while ago, so you could use that as a base to work with
I don’t know about easily, it depends a lot on your game. Narrat is mostly made for narrative and skillcheck, it’s not a JRPG maker for turn based combat.
There is an old rpg with turn based combat example I made, and you could use that as a base to figure out how to make your own combat system, but the logic of how it works and the specifics are up to you. Narrat scripts can load data files where you could define classes, stats, enemies etc and then you just script with it