I’m looking to write a moddable puzzle game. Each piece in the game has a set of simple properties (easily described with numeric codes), plus a jpg texture that gets wrapped around the piece. The game will have 2-5 built-in puzzles, but I’d like to give users the ability to design new puzzle pieces, and new puzzles.
For example, you could describe a new puzzle with a text file of the form:
PieceName = "NewPiece#1"
NumPiecesInGame = 4
Property_1 = 6
Property_2 = 3
... {more piece-wise properties}
TexFilename = "Texture_NewPiece01.jpg"
PieceName = "NewPiece#2"
... {info for NewPiece#2}
... {info for any other pieces in this user-defined puzzle}
So I’d like to be able to have the user select an arbitrary folder, and then a text file within the folder. The compiled game would then read the given text file, import the jpg textures, and setup the puzzle, creating the set of polyhedral-pieces as described within the text file, and skinning them using the specified jpgs.
It seems that one can read text files, and update numeric values (e.g. here). Then this talks about modding via DLL, and this links to a page on Resource Folders and Asset Bundles. But all three of those things (DLL, Resource Folders, Asset Bundles) require some programming expertise. I’d like to have a simpler system, one that requires only text files and paint programs.
Is the sort of modding I’ve described doable in Unity? Is it doable with javascript? Other options/issues I may be overlooking?
P.S. I’m a pretty good programmer (C++, R), but this will be my first foray into gaming. I’ve never before worked with either Unity or javascript. Hence, my questions about what is possible in Unity.