Skip to content
Sign upLog in
← Back to Community

Why is this Pygame repl not loading the image/sprite?

Profile icon
CodersXD

I was doing a pygame tutorial and I wanted to insert an image there, but it is not loading any image/sprite up, can someone help?

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
CodersXD
Comments
hotnewtop
Profile icon
Coder100

The red background is covering up your stickman

working repl

Profile icon
PattanAhmed

Wow!

Profile icon
Coder100

?

@PattanAhmed

Profile icon
CodersXD

@PattanAhmed
What?

Profile icon
CodersXD

@Coder100
, I am testing it out, but for some reason it isn't loading, I even pasted a pygame template and it is blank, I will mark your question correct when I am done testing.

Profile icon
Coder100

coolio

@CodersXD

Profile icon
CodersXD

@Coder100
, thanks :)

Profile icon
PattanAhmed

@Coder100
I cannot find what was wrong in this Repl.

You did a good job!

Profile icon
RYANTADIPARTHI

IT is working. But it's not showing the legs, and all because of the black background.

Profile icon
CodersXD

@RYANTADIPARTHI
, that cause I edited it.

Profile icon
RYANTADIPARTHI

@CodersXD
oh, ok, nvm.