You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when ever i try to call coliderect on an object it gives this error i am not sure why its asking for len.
Traceback (most recent call last):
File "C:/Users/davie/OneDrive - The City of Edinburgh Council/ytgm mobile/main.py", line 306, in
if character.rect.colliderect(builded[x]):
File "src\pygame_sdl2\rect.pyx", line 348, in pygame_sdl2.rect.Rect.colliderect
File "src\pygame_sdl2\rect.pyx", line 45, in pygame_sdl2.rect.Rect.init
TypeError: object of type 'building' has no len()
libpng warning: iCCP: known incorrect sRGB profile
The text was updated successfully, but these errors were encountered:
when ever i try to call coliderect on an object it gives this error i am not sure why its asking for len.
Traceback (most recent call last):
File "C:/Users/davie/OneDrive - The City of Edinburgh Council/ytgm mobile/main.py", line 306, in
if character.rect.colliderect(builded[x]):
File "src\pygame_sdl2\rect.pyx", line 348, in pygame_sdl2.rect.Rect.colliderect
File "src\pygame_sdl2\rect.pyx", line 45, in pygame_sdl2.rect.Rect.init
TypeError: object of type 'building' has no len()
libpng warning: iCCP: known incorrect sRGB profile
The text was updated successfully, but these errors were encountered: