Gerador automático de projetos base em Pygame com menu, resolução, cor e recorde
Project description
🔧 COMO USAR A BIBLIOTECA 'pygame_starter'
📁 1. Estrutura esperada do projeto:
pygame_starter/ ├── setup.py ├── README.md (opcional) └── pygame_starter/ ├── init.py └── gerador.py
🚀 2. Instalando com o pip:
Abra o terminal na pasta onde está o setup.py e execute:
pip install pygame-starter
Isso registra o pacote no seu Python e cria o comando 'pygame-starter'.
📦 3. Usando o gerador de projetos:
Depois de instalado, execute:
pygame-starter
Ele vai perguntar:
- Nome do projeto (sem espaços, números ou símbolos)
- Largura e altura da tela
- Cor de fundo (em RGB, ex: 0,0,0)
E criará uma estrutura assim:
meu_jogo/ ├── main.py ├── config.py ├── recorde.json └── assets/ ├── sprites/ ├── sons/ └── fontes/
🎮 4. Rodando o jogo:
Entre na pasta do projeto e execute:
python main.py
💡 Dica: Você pode editar o main.py para criar seu jogo com base no template!
✅ Pronto para criar jogos com Pygame de forma rápida!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygame_starter-0.3.7.tar.gz.
File metadata
- Download URL: pygame_starter-0.3.7.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59e0cfbdb75c3ba9bd190eec9fb7fb5d0e02fe53254dc8b91b659b56930b94fb
|
|
| MD5 |
1a131046cb9835c0a3e4044128cdb2b3
|
|
| BLAKE2b-256 |
874ba5dd9cfbc5c70ef03050fa5458da46faad7cc986d59c4937f1b78d2df358
|
File details
Details for the file pygame_starter-0.3.7-py3-none-any.whl.
File metadata
- Download URL: pygame_starter-0.3.7-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aaedcb05e28aa4e5782928b2634a69c166867c7eb0b46e560e3e267f0d1a224
|
|
| MD5 |
4f36b845475a3d6e3df03900c93ab3ae
|
|
| BLAKE2b-256 |
b633f3a14cd5fbc36aa764a0b86dd806ada0f976ce77683c5761378dfb6875fb
|