Clues-to-Text: Crafting the Systems behind the Shadows
By Devlin McClure
The Shadows That Linger is a very dialog heavy game, so one of the first things that had to be nailed down was how the player interacts with the characters. We could just write our own dialog system, but people have already made great systems before that allow for simple choice based actions. After some research, we landed on the tool ink. Ink works great for us, because it is open-source, has a large community, and has an official Unity plugin so we don’t have to go around using some third-party tool for Unity integration. You could build your whole game using nothing but Ink scripts and some simple sprite changes!
Shadows is more complex than that, so thankfully ink makes it relatively easy to access and modify variables in an ink script so they can react to things the player has found, who they have talked to, or have the game state react based on the player’s conversations. The clues that you find in the game are a large part of what we track in the game partially due to the dialog, so being able to access that info was another thing that had to be figured out. Almost everything in the game that we track is done so using custom Scriptable Objects. Unity’s Scriptable Objects are a great fit, as they give the designers a visual representation of the data we need, are easy to create in the editor, and make getting the data super simple. To make things just a little simpler, we have all of the Clue Scriptable Objects inside of another Scriptable Object whose sole purpose is to hold the Clues (can you tell I like Scriptable Objects?) after we realized that we need to be able to access multiple (or all) of the clues in dialog and other systems in the game. Scriptable Objects also serialize well, so they are partially used in the game’s automatic save system. Isn’t it funny how things work out like that?
When it comes to actually showing dialog though, not much magic is happening here. We based our system off of the ink example game, with some modifications based on the variables that need to be tracked in and out of dialog. Overall, I think it looks good and I hope you do too.
Get The Shadows That Linger
The Shadows That Linger
Solve a murder by channeling your crystal ball to learn from beings on the other side
Status | Released |
Author | Crimson Ink Games LLC |
Genre | Interactive Fiction |
Tags | 2D, Black and White, Detective, Female Protagonist, Mystery, Narrative, Noir, Point & Click, Spooky, supernatural |
Languages | English |
More posts
- Game UI: RPG? Wheel? Stack?Apr 30, 2021
- Holistic Game Design: Creating Supernatural Detective AbilitiesApr 30, 2021
- Making Choices MatterApr 30, 2021
- The Shadows That Linger is Launched!Mar 17, 2021
- Crafting a Paranormal Noir AestheticMar 15, 2021
- Solve More of the Mystery: Act 1 Awaits!Dec 09, 2020
- Energy: How much you got?Nov 19, 2020
- New Build, New SurveyNov 02, 2020
Leave a comment
Log in with itch.io to leave a comment.