Hello guys,
new to python in bge
trying to make saving/loading for properties that will turn on/off shaders
was following this tut for:
anyway cant make it work:D
will be glad for any help.
blend here:
http://weshare.me/6f71caf442dadfc7/Player.blend
youle
(youle)
2
Hi,
- When you compare 2 values in python, you have to write == instead of = .
- You have to indent your code.
I’m not sure this is the better way to save/load properties (you could use globalDict for example) but:
http://www.pasteall.org/blend/39278
EDIT: You can also have a look at the errors messages in the console to see what’s wrong