-
Notifications
You must be signed in to change notification settings - Fork 16
Description
I'm trying to set the video as the initial screensaver, but all attempts end in the line "logic.video = texture.Texture(obj, 0,0)" with the message: "Error: Python(Camera), Python script error
Traceback (most recent call last):
File "LoadVideo.py", line 11, in
logic.video = texture.Texture(obj, 0,0)
RuntimeError: Texture is not available"
Or "TypeError: the 'str' object cannot be interpreted as an integer
Error: Python(Plane), Python module cannot be imported
Traceback (the last call was the last one):
File "C:\Users\vomif\Desktop\UPBGE\Rudnik\Molibden3_2 .blend\Plane.py ", line 8, in
own["tex"] = texture.Texture(own, "IMgrass.png")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error type: the 'str' object cannot be interpreted as an integer" — if I try to set a real texture: "own["tex"] = texture.Texture(own, "IMgrass.png")". The fragments are taken from various sources of script writing examples, but the result is the same.