Hi, everyone. I'm working on a game project with C++ using SFML for studying purpose. A while ago I read about data-driven design (or is it called data-driven programming?) in this forum, and I think it's a really neat idea, so I gave it a try using jsoncpp. I've got it working, but I'm curious about using Python for the data side. I've also heard that Python is often used alongside other programming languages like C++. I couldn't find any satisfying article about data-driven design, so I hope I can get some advice from this forum.
I've seen it done in a video game series called Mount&Blade, where the modules (mods) are written with Python, but the game itself is made with C++. What are the advantages of using Python files over JSON? And what are the risks? Since Python is a scripting language, I figure it would be more dangerous to use.
Also, if you don't want your data files to be open to the users, how do you pack or encrypt them? Any advice on optimizing data-driven design would be very welcome too. Thanks in advance.