This game is very glitchy. It does not respond when I click things sometimes. There are a bunch of error messages in the terminal.
This is the one that keeps coming up.
line 542, in on_mouse_press
if int(self.text_list[i + 1].text[0]) > 0 and (center_x, center_y) not in self.occupied_places:
IndexError: list index out of range
When I try to run the game in python 3.9, I get this error ImportError: cannot import name 'UIMouseDragEvent' from 'arcade.gui' (/usr/local/lib/python3.9/site-packages/arcade/gui/__init__.py). So, I ran it in 3.8.8 which worked but had the list index out of range error
the UIMouseDragEvent seems like an arcade error make sure you have the latest version of arcade, and for the IndexError when does that happen or how can I reproduce it?
speedlimit35 on 2022/03/30 04:43:
This game is very glitchy. It does not respond when I click things sometimes. There are a bunch of error messages in the terminal.This is the one that keeps coming up.
line 542, in on_mouse_press
if int(self.text_list[i + 1].text[0]) > 0 and (center_x, center_y) not in self.occupied_places:
IndexError: list index out of range
When I try to run the game in python 3.9, I get this error ImportError: cannot import name 'UIMouseDragEvent' from 'arcade.gui' (/usr/local/lib/python3.9/site-packages/arcade/gui/__init__.py). So, I ran it in 3.8.8 which worked but had the list index out of range error