Thaumaturge: You may have to wait on your request for a example, because my script is mess right now as I,m still implementing the multiple scene function, but I will post it after I,m done though. though I think you may be right for separating functions into files. though, I,m worried about compiling, may I ask? how does panda compile games?
Do the python scripts retain their code form or are they compiled into machine code like C++, because from research, I found out that C++ does not retain it’s original form, and is compiled into machine code like assembly, so if I separated them into multiple files would the import functions fail because it is no longer python script?
So self, would need to be replaced with base then, thanks, I will use this in the future.
serega-kkz: I used showbase because I copied a lot of the roaming ralph demo’s code to jumpstart my game, I have seen some demo use Directstart, but from I can get of what you are saying is, showbase is more automatic? because you don’t have to add a method in front and just use self?
rdb: so showBase is automatic? I use global variables because they can be altered by functions, but also because they are referenced first for code needing to check for a variable before it is declared, I keep getting a “store your variables in a class” vibe, and it sounds I like a good idea, but I need to test out the class if it repeats or not first.