Displaying scores
DEMONul1234

So I created that code here, but don't know how to make score appear on a turtle window

You are viewing a single comment. View All
[deleted]

I would use:

If that doesn't work let me know, I don't really know much about python with turtle so I'm just making a guess on the fly.

DEMONul1234

@GoofyGus It does not work. Well 'title' is not an attribute for pygame, so nope... also int cannot be added to 'set_caption' which actually defines title.

[deleted]

Yeah sorry, I don't know much about pygame and stuff, maybe you need something like this?
https://techwithtim.net/tutorials/game-development-with-python/side-scroller-pygame/scoring-end-screen/
@DEMONul1234

adl212

@DEMONul1234

also int cannot be added to 'set_caption' which actually defines title.

You should replace score with str(score)