pygame-light2d


Namepygame-light2d JSON
Version 2.0.2 PyPI version JSON
download
home_page
SummaryFast 2D dynamic lighting engine for Pygame.
upload_time2023-10-02 11:40:34
maintainer
docs_urlNone
authorMarkel Zubia
requires_python>=3.10
licenseMIT License Copyright (c) 2023 MarkelZ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords pygame light lights engine shadows dynamic 2d
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Pygame Light 2D
This module provides fast 2D dynamic lighting for `pygame`. 

https://github.com/MarkelZ/pygame-light2d/assets/60424316/a8d1322b-ac05-47d4-8b04-2786f0d3c96a

## System requirements

- `Python` version >= 3.10
- `OpenGL` version >= 3.3

## Python package dependencies

- `numpy` >= 1.24.1
- `pygame` >= 2.3.0
- `moderngl` >= 5.8.2
- `PyOpenGL` >= 3.1.6

## Installation

Firstly, ensure that your system meets the [System requirements](#system-requirements).

Then, run the following command:

```sh
python3 -m pip install pygame-light2d
```

To verify correct installation, open a Python terminal and import the module:

```py
import pygame_light2d
```

If there are no errors, the installation was successful!

## Getting started

To learn how to create a simple game with lighting effects using `pygame-light2d`, check out the [Getting started](https://github.com/MarkelZ/pygame-light2d/wiki/Getting-Started) page on the wiki.

## Documentation

### Using the API

For detailed explanations of the API, please refer to the [API Reference](https://github.com/MarkelZ/pygame-light2d/wiki/API-Reference).

### Using `pygame-light2d` in an existing project

If you're looking to incorporate `pygame-ligth2d` into an existing project, we recommend starting with our guide on [Adding lights to an existing project](https://github.com/MarkelZ/pygame-light2d/wiki/Adding-lights-to-an-existing-project).

## Frequently Asked Questions

For frequently asked questions check out [FAQ](https://github.com/MarkelZ/pygame-light2d/wiki/FAQ).

## Contributing

We greatly appreciate and encourage contributions from the community! 

Please take a look at the [Contributing](https://github.com/MarkelZ/pygame-light2d/wiki/Contributing) page on the wiki for details on how to contribute to the project.

## License

This code is licensed under the terms of the MIT license.



            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pygame-light2d",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "pygame,light,lights,engine,shadows,dynamic,2D",
    "author": "Markel Zubia",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/15/da/fc35ece304c7318b7add0880c5b16f9c0c4c3ed42c826133345c3d8b252e/pygame-light2d-2.0.2.tar.gz",
    "platform": null,
    "description": "# Pygame Light 2D\nThis module provides fast 2D dynamic lighting for `pygame`. \n\nhttps://github.com/MarkelZ/pygame-light2d/assets/60424316/a8d1322b-ac05-47d4-8b04-2786f0d3c96a\n\n## System requirements\n\n- `Python` version >= 3.10\n- `OpenGL` version >= 3.3\n\n## Python package dependencies\n\n- `numpy` >= 1.24.1\n- `pygame` >= 2.3.0\n- `moderngl` >= 5.8.2\n- `PyOpenGL` >= 3.1.6\n\n## Installation\n\nFirstly, ensure that your system meets the [System requirements](#system-requirements).\n\nThen, run the following command:\n\n```sh\npython3 -m pip install pygame-light2d\n```\n\nTo verify correct installation, open a Python terminal and import the module:\n\n```py\nimport pygame_light2d\n```\n\nIf there are no errors, the installation was successful!\n\n## Getting started\n\nTo learn how to create a simple game with lighting effects using `pygame-light2d`, check out the [Getting started](https://github.com/MarkelZ/pygame-light2d/wiki/Getting-Started) page on the wiki.\n\n## Documentation\n\n### Using the API\n\nFor detailed explanations of the API, please refer to the [API Reference](https://github.com/MarkelZ/pygame-light2d/wiki/API-Reference).\n\n### Using `pygame-light2d` in an existing project\n\nIf you're looking to incorporate `pygame-ligth2d` into an existing project, we recommend starting with our guide on [Adding lights to an existing project](https://github.com/MarkelZ/pygame-light2d/wiki/Adding-lights-to-an-existing-project).\n\n## Frequently Asked Questions\n\nFor frequently asked questions check out [FAQ](https://github.com/MarkelZ/pygame-light2d/wiki/FAQ).\n\n## Contributing\n\nWe greatly appreciate and encourage contributions from the community! \n\nPlease take a look at the [Contributing](https://github.com/MarkelZ/pygame-light2d/wiki/Contributing) page on the wiki for details on how to contribute to the project.\n\n## License\n\nThis code is licensed under the terms of the MIT license.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 MarkelZ  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Fast 2D dynamic lighting engine for Pygame.",
    "version": "2.0.2",
    "project_urls": {
        "Bug Reports": "https://github.com/MarkelZ/pygame-light2d/issues",
        "Documentation": "https://github.com/MarkelZ/pygame-light2d/wiki",
        "Homepage": "https://github.com/MarkelZ/pygame-light2d"
    },
    "split_keywords": [
        "pygame",
        "light",
        "lights",
        "engine",
        "shadows",
        "dynamic",
        "2d"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5b1c7b1bbccd0f6a3d15874ad58eace728005c5086e0a3cb63431be8836d43a4",
                "md5": "6f593166186aa2777f6e99750f328bcc",
                "sha256": "758338856f2ef1564e510fbec3afded3f0c8bcf90589e46946cdb27e947e9536"
            },
            "downloads": -1,
            "filename": "pygame_light2d-2.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6f593166186aa2777f6e99750f328bcc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 13362,
            "upload_time": "2023-10-02T11:40:33",
            "upload_time_iso_8601": "2023-10-02T11:40:33.119836Z",
            "url": "https://files.pythonhosted.org/packages/5b/1c/7b1bbccd0f6a3d15874ad58eace728005c5086e0a3cb63431be8836d43a4/pygame_light2d-2.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "15dafc35ece304c7318b7add0880c5b16f9c0c4c3ed42c826133345c3d8b252e",
                "md5": "6045fd5fe28b399cb2f3ae562e106754",
                "sha256": "cf294dd0c1483add5aea288308c85061d67fe4be2401decc6f3a16f3f7ad9f80"
            },
            "downloads": -1,
            "filename": "pygame-light2d-2.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "6045fd5fe28b399cb2f3ae562e106754",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 11864,
            "upload_time": "2023-10-02T11:40:34",
            "upload_time_iso_8601": "2023-10-02T11:40:34.962060Z",
            "url": "https://files.pythonhosted.org/packages/15/da/fc35ece304c7318b7add0880c5b16f9c0c4c3ed42c826133345c3d8b252e/pygame-light2d-2.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-02 11:40:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MarkelZ",
    "github_project": "pygame-light2d",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pygame-light2d"
}
        
Elapsed time: 0.13340s