Posted April 21, 2021 by GameDev_byHobby
#Crime #Singleplayer #Stealth
Today I finished working out some bugs in the system, and added dialogue for all three NPCs. It's now as easy as creating the entry on the json file, adding a way to interact with the object, which I may improve later to not need any extra lines of code on their own scripts, and delete it once it's done. The dialogue box works as intended.
It's been a long time goal for me to code a dialogue system, and I was very tempted to just use a plugin like dialogic (it's awesome btw), but I tried it out after some motivation struck me and I got it done within the day.
I'll keep working on the house tomorrow, and add a dynamic Ysorting system for things I want to change on runtime.