← Return to game
Log in with itch.io to leave a comment.
Game crashes when loading "Full Screen 2"
I will correct if I has the correct result, I will write to you
Log:
C:\Users\user\Desktop\ADayInFall>C:\Users\user\Desktop\ADayInFall\ADayInFall.py
pygame 2.1.2 (SDL 2.0.18, Python 3.10.1)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\random.py", line 303, in randrange
istart = _index(start)
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
File "C:\Users\user\Desktop\ADayInFall\ADayInFall.py", line 1042, in <module>
spawning(spawnNum, scaling)
File "C:\Users\user\Desktop\ADayInFall\ADayInFall.py", line 690, in spawning
spawnX = random.randint (0 + fullscreenMoveX, 756 + fullscreenMoveX)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\random.py", line 370, in randint
return self.randrange(a, b+1)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\random.py", line 309, in randrange
raise ValueError("non-integer arg 1 for randrange()")
ValueError: non-integer arg 1 for randrange()
C:\Users\user\Desktop\ADayInFall>
I can try fixing the issue but I won't be able to update the game anymore (at least not as a part of this jam) which is sad...
I didn't read the log completely. So I hope this problem is only with me and other people will be able to successfully play)
← Return to game
Comments
Log in with itch.io to leave a comment.
Game crashes when loading "Full Screen 2"
I will correct if I has the correct result, I will write to you
Log:
C:\Users\user\Desktop\ADayInFall>C:\Users\user\Desktop\ADayInFall\ADayInFall.py
pygame 2.1.2 (SDL 2.0.18, Python 3.10.1)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\random.py", line 303, in randrange
istart = _index(start)
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\user\Desktop\ADayInFall\ADayInFall.py", line 1042, in <module>
spawning(spawnNum, scaling)
File "C:\Users\user\Desktop\ADayInFall\ADayInFall.py", line 690, in spawning
spawnX = random.randint (0 + fullscreenMoveX, 756 + fullscreenMoveX)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\random.py", line 370, in randint
return self.randrange(a, b+1)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\random.py", line 309, in randrange
raise ValueError("non-integer arg 1 for randrange()")
ValueError: non-integer arg 1 for randrange()
C:\Users\user\Desktop\ADayInFall>
I can try fixing the issue but I won't be able to update the game anymore (at least not as a part of this jam) which is sad...
I didn't read the log completely. So I hope this problem is only with me and other people will be able to successfully play)