Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coliderect is looking for len of classes #105

Closed
tomdvies opened this issue Jul 15, 2018 · 0 comments
Closed

coliderect is looking for len of classes #105

tomdvies opened this issue Jul 15, 2018 · 0 comments

Comments

@tomdvies
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants