The Serious Issue
|
Since the last week was going so well, it wouldn’t be right without some issues showing up the this week. This monday while in a programming meeting with my teacher, he gave me a heads up about hard coding lines of dialogue in the game. I always knew this was a problem but since the engine was built for it to be hard coded, I didn’t think there would be an issue. Since we do want to reach as many as possible with the game, he adviced me to implement the dialogue from an external file such as .xml. This is so that when we want to translate the game, all that has to be done is for the .xml files to be changed. Easier to change there than it is to change in code. Therefore, this whole week was spent learning about how to parse .xml files in Ren’py. This also meant that I hade to do a lot more python programming than I had expected.
It’s not that we have a line-of-code budget or something but the less complex code I have to write, the more stuff I get done. On monday I will meet with the teacher again and I will discuss these things. |
