This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hello,
I am trying to draw some circles in pygame, which should be simple enough. I am trying to parse the circle center as a (Float, Float), but pygame is rejecting this. I get errors telling me it wants Ints as coordinates, not Floats.
What confuses me is that the documentation clearly states that pygame.draw.circle() can take Floats as parameter for the circle center. Other methods such as pygame.draw.line() can take Floats for their coordinates, as I have already got that in without errors.
Does anybody know if it is a mistake on Pygame's part, or am I misinterpreting the docs?
Link to the aforementioned docs
Thank you for your time!
Edit: It has been fixed, my pip and pygame we're slightly out of date.
Post Details
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/pygame/comm...