Metadata-Version: 2.4
Name: cobrapad
Version: 0.2.2
Summary: A beginner-friendly 2D game engine built on top of pygame
Author: knyaz
License: MIT
Project-URL: Homepage, https://github.com/lorkas-052
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: pygame>=2.0.0


# Cobrapad





Cobrapad is a fast and easy-to-use 2D game library built on top of Pygame. It is designed for beginners and intermediate developers who want to create 2D games without dealing with complex code.

---

## Features

- Draw shapes — Rectangle, Circle, Oval, Polygon
- Add images and backgrounds easily
- Display text on screen
- Create clickable buttons
- Animate objects with `moves()` and `movesTo()`
- Show and hide objects
- Detect mouse clicks anywhere on screen
- Delay actions with a timer using `stop()`
- Clear the screen instantly with `clearScreen()`
- Detect collisions with `collide()`





## Installation

```bash
pip install cobrapad
```



## Quick Start
```python
import cobrapad

screenX = 800
screenY = 600
#This determines the size of the screen

cobrapad.open_screen()
calisma = cobrapad.study()
calisma.setup()

#We write the code here

cobrapad.run()
#This starts the game cycle
```
## Note:
Cobrapad is currently in beta. Features like keyboard input and audio support will be added in future versions.
Warning for Mobile Users:
If you are installing Cobrapad on a mobile device, please ensure that you have installed pygame via your IDE's "Pip" menu before using the library.

## Community
Join our Discord server to learn Cobrapad, ask questions, and share your projects:
[**Click here to join the Cobrapad Discord Server**](https://discord.gg/RaD3Bq2KWm)
	

## License
MIT License Copyright (c) 2026 Knyaz
