En general ezgame Trata de hacer mas simple el proceso de Creacion y manipulacion de graficos 2D.
Project description
EZSGAME
En general ezsgame Trata de hacer mas simple el proceso de Creacion y manipulacion de graficos 2D. Creando y simplificando el proceso lo mas posible. Tratando de hacerlo mas facil, divertudo y comodo para el usuario.
Instalacion
pip install ezsgame
Conceptos
-
pos - Posicion del objeto en el espacio. (x,y)
-
size - Tamaño del objeto en el espacio. (ancho,alto)
-
color - Color del objeto. (r,g,b) o "nombre_de_color"
-
Screen - Pantalla en la que se dibuja el objeto. Todo sucede en una pantalla.
-
IScreen - Interface Screen. Pantalla de interfaz. Permite usar otro tipo de caracteristicas en la pantalla.
Inicio
# declare a Screen object
screen = Screen(size=(640, 480), title="My Game")
# Declarar un objeto
mi_rect = Rect(pos=["center", "center"], size=(100, 100), color="red")
# Bucle principal
while True:
# Check de eventos
screen.check()
# llenar la pantalla de color
screen.fill((0, 0, 0))
# Dibujar el objeto
screen.draw(mi_rect)
# Actualizar la pantalla
screen.update()
Atajos Avanzados
# declaring and placing objects in screen in one line
# Note : this only works if you are using IScreen
screen = IScreen(size=(640, 480), title="My Game", objects=[Rect(size=[100,100], pos=["center", "center"])]).run()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 ezsgame-0.0.tar.gz.
File metadata
- Download URL: ezsgame-0.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79168ecd6cedb68ea40109a94eabc9360d80c5278066a6ccfd773607ed511fb3
|
|
| MD5 |
f9db50e9f2b0ea690a4ea09d858243ff
|
|
| BLAKE2b-256 |
8cc1083261e19437104538a2fffd32169d03e7c49c80e6b5e0553c5db809215b
|
File details
Details for the file ezsgame-0.0-py3-none-any.whl.
File metadata
- Download URL: ezsgame-0.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
474f3b0ad537252f99ae9ce49456aef0c87c55713d438da69a686d01cf670c9c
|
|
| MD5 |
66a9901f71daa3b52683b334106f9f9c
|
|
| BLAKE2b-256 |
eef10bdd3d0a22e408f142f3cc1093192000e1328ab3fd25ca82cffd08729b87
|
File details
Details for the file ezsgame-0-py3-none-any.whl.
File metadata
- Download URL: ezsgame-0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adc0bc0b31e8e70122b6e39476f1517b20ab595862e9e52e5c80b7e433f7df70
|
|
| MD5 |
3f451f5baf9515c7bc744a5fda04fb32
|
|
| BLAKE2b-256 |
c91fc341e6a8ab03b0954e4162e73a9f231195e84a03057f7d8f83177ead3172
|