https://github.com/Atcop12/MegaMech.git Could any of you help me fix some glitches in this.
What kind of glitches?
Would if I actually remembered how to do some basic code in python
It breakes at random points. It has been a while since I worked on it so I don't really remember much.
Does it throw an exception or is it just not doing what it should?
There are a lot of issues with your code and I could probably write several pages about it.
The biggest problem with it is separation of concerns. Everything is in one file and you are mixing a script with some stupid classes with no logic in it.
The second biggest problem is that it seems you don't have the grasp of indentation as Syntax in Python. A lot of the code is indented incorrectly.
So what I suggest. If you really want to do classes and OOP then look into refactoring the game code into utilizing that. It would probably clean up quite a lot.
Also utilize a linter to tell you about what you are doing wrong with your code style.
I might do a pull request on GitHub with some work in progress refactoring to show you what I mean.
Edit: I did a PR. Hope it gets you on a brighter path. Please don't hesitate to ask,
I looking at it, I'm a newbie so this will help me learn some things too
Wow, This whole thing got re-written !
Bro, I am down for it. But your documentation is literally nothing. I don't have time to go and try to read your mind. Write some explanation of what you are trying to accomplish and how. And then shoot me a pm. I've been doing a lot of coding on the side I wouldn't mind branching off your project.