Skip to content

Conversation

@MikeA1
Copy link
Contributor

@MikeA1 MikeA1 commented Jun 9, 2025

The Building 2D Games tutorial is amazing! I really appreciate the hard work that went into it. I went through Chapter 12 and everything was great until the circle collision explanation. There's a couple of errors pertaining to the direction of inequality sign, so this MR attempts to straighten it out. It's notable that the Circle class is implemented correctly later in this chapter (see ./snippets/cirlce.cs#methods_intersects).

The circle collision explanation and code sample were incorrect.
The Circle class is implemented correctly later in this chapter (see ./snippets/cirlce.cs#methods_intersects).
Copy link
Contributor

@AristurtleDev AristurtleDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching the maths errors.

A few minor feedback points were added to the review if you could look over them.

@dellis1972 dellis1972 requested review from AristurtleDev and SimonDarksideJ and removed request for AristurtleDev June 12, 2025 10:15
@SimonDarksideJ SimonDarksideJ merged commit 580a73a into MonoGame:main Jun 12, 2025
Gaetz pushed a commit to Gaetz/docs.monogame.github.io that referenced this pull request Jul 16, 2025
…pos. (MonoGame#138)

* Fix circle collision math and a few typos.

The circle collision explanation and code sample were incorrect.
The Circle class is implemented correctly later in this chapter (see ./snippets/cirlce.cs#methods_intersects).

* Add back "Since this forms a right triangle,"

* Use * instead of _

* Switch circle radii back to 5

* Corrections

---------

Co-authored-by: Simon (Darkside) Jackson <darkside@zenithmoon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants