Why is my game not working?

Here is what it says in the webview
Screenshot 2023-05-13 11.12.32 AM
But I literally have that sprite
Screenshot 2023-05-13 11.12.42 AM
And here’s some code from it
Screenshot 2023-05-13 11.12.53 AM
So do you know why it isn’t working?

play the game here https://replit.com/@Evanisha/Flappy-Cow?v=1

1 Like

What language is it using? Could we see some more code?

1 Like

It’s in Kaboom and yeah here’s some more code
Screenshot 2023-05-13 11.19.40 AM

1 Like

Is it hosted on Replit? If so, could you send the Repl link?

1 Like

It’s in replit and sure I can
play here https://replit.com/@Evanisha/Flappy-Cow?v=1

1 Like

Try this: In the Cow.pedit file, click the export icon (bottom right), and type sprites/cow. Then change line 11 to:

loadSprite("cow", "sprites/cow.png");

Or you can use the Repl I shared with you and change the bean image to a cow image.

1 Like

I found your error. It has to be loadPedit not loadSprite, if you want loadSprite you have to export to png first

1 Like

Still says that its wrong
Screenshot 2023-05-13 11.12.32 AM

1 Like

It’s sprites not sprite

You did sprite/cow.pedit, but it’s sprites/cow.pedit.

2 Likes