Is there a possibility to include Mod Support into the Game I develop?
Option 1: Make it open-source.
Inherently, modding doesn’t require an explicit integration, since it’s the practice of modifying the game files.
You can add features to your game to facilitate the creation of user content though, for example using the steam workshop integration to easily share, upload, and download files, allowing to use JSON files to modify the behavior of your game, creating a simple language for scripting…
You have experience creating extensions?
- Obviously people will need to know internal info of your game, such as object names and variable names.
- Since the code is a string, people must only use ’ single quotes ’ in their codes, because the double quotes will be used to contain the entire code. (I think that can be ‘workarounded’ if they paste the code into a text input)
Both are not true.
Since modding literally isn’t something you would hard code into your game, mods wouldn’t be contained in string literals, thus this is straight up not an issue.
TL;DR If that’s your modding integration, you’re better off not adding it to your game at all. Modders will be better off creating their own modding framework.