I’ve been working again on a little Visual Novel (VN) engine made in Godot. I had something functioning, but I was not happy with the code structure, so I went to refactor it. I’m still struggling defining what I want to be able to script without effort. I find the script structure of Ren’PY atrocious for writing flow, and it surely requires a lot of copy-paste or custom script to put it in the Ren’Py format. I’m thinking of having a script structure closer to how theater pieces are written. :wq However there is some hurdle with the choice system, that would surely require AST to make it work. One of the objective I have with the script system I have in mind, is to not let people do complex thing in the script. You should be able to set up your scene, characters, make them talk and have some animations. AT BEST, some simple choices. All the complicated things should be made in Godot and GdScript and you won’t have to hack the script system to make something work.

AST is not super hard to implement, but it’s not trivial either, so I wonder if I would be using my time effectively. I could go take a read on this book that was recommended to me, but it seems way overkill. Overall interesting.