velocirection - The Freaky Dialogue Editor

velocirection - The Freaky Dialogue Editor

More from velocirection velocirection - Dragon Twinks orgasm training fluids

About This Title

Unfortunately I've been spending a lot of time developing a node editor for the conversations in Freaky Fuckers. There were too many small annoying thinks about Dialogue Designer that made me go "auggh I don't know if I'd want to use this for making tons of dialogue trees..."

So I've made my own node-based editor in Gamemaker (NOT vibe coded btw!)

https://www.youtube.com/watch?v=vaunuXoq2Q4

(I'll attach the video below because it's marked as 18+ on youtube)

My editor read/writes gml scripts in the scripts folder of a project's directory. The output from the editor is a script containing an array of structs, each element in the array being a node which contains text, choices, conditions, a function to execute, it depends on the type of node. (and the dialogue system would process the nodes according to what node type they are)

What it looks like in the editor:

And what the output looks like in the dialogue script:

There's a bunch of cool stuff about this!

-The dialogue is compiled with the game meaning I can't accidentally forget to include or update an external file. I know a lot of people say "you should use an external file for dialogue in games!" as though it's some best practice but I've never really liked that philosophy. It does make certain things easier (like translating to another language) but it can get wild if you have dozens or possibly hundreds of files to keep track of and make sure they're the correct version.

-Because the dialogue is compiled with the game, I can take advantage of the compiler finding errors. Like if there's a problem, such as a misnamed variable, it will tell me the name of the variable and what line/script it's in (even if it compiles, if the game crashes game maker will at least report what script/what line the problem that caused it is in/on)

-The dialogue system can use any variable/function that exists in the game. Instead of like, using a weird markup type language for telling the game what to do (which is error prone both to program/debug and use in practice since there's no compiler to catch your mistakes unless you like, code your own error checking which just sucks to do), nodes can use gml for checking what branch of a condition node to go to, what dialogue options to show/hide, it can set variables directly with gml, on-paper anything you can write in the gamemaker text editor is possible! But whether or not it will load/save properly inside my node editor, idk. I haven't tested that super extensively since I don't plan on anything crazy happening in dialogue scripts but so far it's been working exactly as intended.

I apologize for spending so much time on this! It's been a lot of work just to do something that sounds stupidly simple but this should actually be the way I'll be making dialogue for the game going forward. I haven't remade much dialogue in my node editor yet (or even updated the dialogue system in the game to use it) but this is like, the foundation for the final version of the dialogue system, one that can be visualized as pretty node graph and also can be written/modified like a script in game maker. And like I've said before, if this game does end up becoming a full game, having good, scalable systems that aren't a pain to deal with is extremely important.

I want to have this up to download at some point but it's not battle tested yet so... it won't be available right now, sorry! And I don't really feel like writing documentation/how-to guides yet since stuff could change enough to make that outdated.

Credits for stuff I used but didn't make myself:

It uses this amazing text box input system by Mytino:

https://marketplace.gamemaker.io/assets/5604/now-free-text-inputs-gm-studio-2

And this non-sandboxed file system extension by YellowAfterlife:

https://yellowafterlife.itch.io/gamemaker-nsfs

And also thanks to DragonDePlantino for the Mother 1 font rip, I used that as my very tiny font (and added more characters it was missing like curly braces, brackets, & and @ signs, etc...)

https://www.spriters-resource.com/nes/mother25thanniversaryeditionhack/asset/65467/

I've been working on animation stuff too and I'll be posting about that soon! But I wanted to have this up because it's been taking so long. And for a bit I wasn't sure if I could pull it off! (however the Mytino text inputs and the YellowAfterlife file system are really what made it possible) But it looks like the Freaky Dialogue Editor for Freaky Fuckers (FDEFF) will in fact be the tool for making dialogue for the game.

Artist

velocirection Artist rank #424 velocirection 26 videos 2 albums 77.7K views View Profile

Tags

Comments (0)

1000 characters remaining

No comments yet. Be the first to start the conversation.