(im using slick)
Im considering using a circular boundary for the playing field, as such im wondering if there is a way to check if a shape is fully contained within another shape.
- But before that, is there a better way to keep shapes(hitboxes) within a circular boundary?
- Is there a better method than taking the 4 corners of a rectangle and seeing if theyre all within a gigantic circle that is the playing field. This is my current idea but it involves having to make a rectangular “bounding hitbox” for every entity (probably bigger than the sprite ), including things that otherwise have circular hitboxes.