If I use python script to do basic things then the EXE runs fine as long as the python26.dll is in the folder.
But I just tried using the random module and the exported EXE no longer works eventhough it runs fine within Construct.
My test script is very simple:
SEED = 123
System.SetGlobalVar('x', random.randrange(0, 100))[/code:djpa2kif]
When I run the EXE it complains something about random.pyc and about not finding __future__
So in the export wizard I tried checking the __future__ and random.pyc modules, which fixed the __future__ error but not the "random" one.
The error message it gives me is:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "random.pyc", line 43, in <module>
ImportError: No module named warnings
Can someone please point out what I'm doing wrong?