Tuesday, June 15, 2010

Game Engine Pep8 Compliance


Well today was told about the pep8 python standard which is a little bit more picky then I am when coding. So today I spent a few cycles making sure my game engine is compliant to this standard. I even found a nice vim plugin that allows me to check my code from right inside my editor.

I may need to also run pep8 on the pyconsole.py file to be able to say my game engine is completely compliant, but that will come later if I have some spare cycles.

Console Set Variables

So it looks like having my console modify variables is very hard if even possible with how python passes variables. It seems like python won't allow the game engine class directly edit variables that it doesn't know the path directly. So taking user input and searching for the variable seems to not work. I will have to do some more research and hopefully I will be able to figure something out.

No comments:

Post a Comment