A library for creating games and interfaces graphics
Project description
MGE
Version: 0.2.0
other versions
Dependencies
pygame
-
numpy
-
pillow
-
opencv-python
-
pyperclip
-
screeninfo
Example of use
import sys
import MGE
MGE.Program.init()
gif = MGE.Object2D([0, 0], 0, [500, 500])
gif.set_material(MGE.Material(MGE.Texture(MGE.Image("./image.gif"))))
MGE.Program.screen.set_size(500, 500)
MGE.Program.set_clock(120)
while True:
if MGE.Program.event.type == MGE.Screen_inputs.quit or MGE.keyboard("f1"):
sys.exit()
gif.draw_object(MGE.Program.screen)
MGE.Program.set_caption(f"Gif-MGE | FPS:{int(MGE.Program.get_fps())}")
MGE.Program.update()
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
MGE-0.2.0.tar.gz
(14.1 kB
view details)
File details
Details for the file MGE-0.2.0.tar.gz
.
File metadata
- Download URL: MGE-0.2.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74aee5f52188e679f74062312da55a8536c65c99537eb60588157e7bd78ef76e |
|
MD5 | 1fa43d3394accbf8c0de69562a241095 |
|
BLAKE2b-256 | 1d0366e62d7ab75457df53eccf7b75c1709a10d8b4e939e20ea16073c0ee4d57 |