Skip to content

Making a sprite causes and error #48

Description

@TCH057

When running the python code for my PyGame window and trying to make a sprite it says something along the lines of

File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pygame\sprite.py", line 648, in draw
surface_blit = surface.blit
AttributeError: 'str' object has no attribute 'blit'

This problem resides in the code provided by this functions download and not my code as you can see it finds the issue with a different file to my save file location. Does anyone know what is happening?

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions