Imraylib
Integrates Imgui with Raylib.
The integration does not directly connect Imgui with Raylib. This permits you to selectively filter events to prevent them being sent to Imgui.
For example: if you had a number of different Imgui interfaces or possibly even one rendered inside a first-person game. You don't want them receiving events until the player begins interacting with the specific Imgui interface.
If you don't care about this, there is a convenience function send_all_events
which will send all Raylib data to Imgui and "just work".
Installation
pip install imraylib
Until raylibpy merges the raylibpy-3.7 branch to master,
you must manually install it from Git.
Dependencies
- raylibpy - Specifically the
raylibpy-3.7branch. - raylib-py-flat - Simplifies
raylibpyimports - pyimgui
Example
See example/demo.py for an example
BSD 3-Clause License
Copyright (c) 2021, Adam Griffiths All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Release files for imraylib 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| imraylib-1.0.0.tar.gz | 4.5 kB | Details |
Release files / imraylib-1.0.0.tar.gz
| Download URL | imraylib-1.0.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3559bd3209fc440398634e3883127be714120120a94e34f1ad29d497d7a7dc29
|
|
BLAKE2b-256 checksum How to use checksums |
9f6e15550fbdaa3386ac79e895b988d999cdcd4240713b82d0e51faf6165cf03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9
|