Metadata-Version: 2.4
Name: collide_circle
Version: 0.1.2
Summary: A simple Pygame utility for rectangle-circle collision detection.
Home-page: https://github.com/austinewoody/collide_circle
Author: Austine Onwubiko
Author-email: austineonwubiko@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# collide_circle

A simple Pygame utility for detecting collisions between rectangles and circles.

## 📦 Installation

Install from PyPI (after publishing):

```bash
pip install collide_circle





#Or install locally (from source):
pip install .




#Usage

import pygame
from collide_circle import rect_collides_with_circle

# Example Pygame setup
rect = pygame.Rect(100, 100, 80, 60)
circle_center = (150, 120)
circle_radius = 40

if rect_collides_with_circle(rect, circle_center, circle_radius):
    print("Collision detected!")


#Function

rect_collides_with_circle(rect, circle_center, circle_radius)
