MGE


NameMGE JSON
Version 0.2.0 PyPI version JSON
download
home_page
SummaryA library for creating games and interfaces graphics
upload_time2023-03-28 00:22:02
maintainer
docs_urlNone
authorLucas Guimarães
requires_python
licenseMIT License
keywords mge pygame
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # MGE

Version: 0.2.0  
[other versions](https://github.com/lucas224112/MGE_Other_Versions)

## Dependencies
[```pygame```](https://pypi.org/project/pygame/) -
[```numpy```](https://pypi.org/project/numpy/) -
[```pillow```](https://pypi.org/project/Pillow/) -
[```opencv-python```](https://pypi.org/project/opencv-python/) -
[```pyperclip```](https://pypi.org/project/pyperclip/) -
[```screeninfo```](https://pypi.org/project/screeninfo/)

## Example of use
```py
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()
```

- ### Another examples
  [Open Gif](https://github.com/lucas224112/MGE_Open_Gif) - 
  [Text Box](https://github.com/lucas224112/MGE_Text_Box)



            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "MGE",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "MGE pygame",
    "author": "Lucas Guimar\u00e3es",
    "author_email": "lucasguimaraes.commercial@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1d/03/66e62d7ab75457df53eccf7b75c1709a10d8b4e939e20ea16073c0ee4d57/MGE-0.2.0.tar.gz",
    "platform": null,
    "description": "# MGE\r\n\r\nVersion: 0.2.0  \r\n[other versions](https://github.com/lucas224112/MGE_Other_Versions)\r\n\r\n## Dependencies\r\n[```pygame```](https://pypi.org/project/pygame/) -\r\n[```numpy```](https://pypi.org/project/numpy/) -\r\n[```pillow```](https://pypi.org/project/Pillow/) -\r\n[```opencv-python```](https://pypi.org/project/opencv-python/) -\r\n[```pyperclip```](https://pypi.org/project/pyperclip/) -\r\n[```screeninfo```](https://pypi.org/project/screeninfo/)\r\n\r\n## Example of use\r\n```py\r\nimport sys\r\nimport MGE\r\n\r\nMGE.Program.init()\r\n\r\ngif = MGE.Object2D([0, 0], 0, [500, 500])\r\ngif.set_material(MGE.Material(MGE.Texture(MGE.Image(\"./image.gif\"))))\r\n\r\nMGE.Program.screen.set_size(500, 500)\r\nMGE.Program.set_clock(120)\r\n\r\nwhile True:\r\n    if MGE.Program.event.type == MGE.Screen_inputs.quit or MGE.keyboard(\"f1\"):\r\n        sys.exit()\r\n\r\n    gif.draw_object(MGE.Program.screen)\r\n\r\n    MGE.Program.set_caption(f\"Gif-MGE | FPS:{int(MGE.Program.get_fps())}\")\r\n    MGE.Program.update()\r\n```\r\n\r\n- ### Another examples\r\n  [Open Gif](https://github.com/lucas224112/MGE_Open_Gif) - \r\n  [Text Box](https://github.com/lucas224112/MGE_Text_Box)\r\n\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A library for creating games and interfaces graphics",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [
        "mge",
        "pygame"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1d0366e62d7ab75457df53eccf7b75c1709a10d8b4e939e20ea16073c0ee4d57",
                "md5": "1fa43d3394accbf8c0de69562a241095",
                "sha256": "74aee5f52188e679f74062312da55a8536c65c99537eb60588157e7bd78ef76e"
            },
            "downloads": -1,
            "filename": "MGE-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1fa43d3394accbf8c0de69562a241095",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 14073,
            "upload_time": "2023-03-28T00:22:02",
            "upload_time_iso_8601": "2023-03-28T00:22:02.305457Z",
            "url": "https://files.pythonhosted.org/packages/1d/03/66e62d7ab75457df53eccf7b75c1709a10d8b4e939e20ea16073c0ee4d57/MGE-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-28 00:22:02",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "mge"
}
        
Elapsed time: 0.59721s